summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/pemagine/pe_api.h4
-rw-r--r--project/extras.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/pemagine/pe_api.h b/include/pemagine/pe_api.h
index 923daa9..8a1e9f8 100644
--- a/include/pemagine/pe_api.h
+++ b/include/pemagine/pe_api.h
@@ -23,9 +23,9 @@
#endif
/* pe_api */
-#if defined (PE_BUILD)
+#if defined (PE_EXPORT)
#define pe_api pe_export
-#elif defined (PE_SHARED)
+#elif defined (PE_IMPORT)
#define pe_api pe_import
#elif defined (PE_STATIC)
#define pe_api
diff --git a/project/extras.mk b/project/extras.mk
index d95c532..5f008e4 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,4 +1,4 @@
-CFLAGS_SHARED_ATTR += -DPE_BUILD
+CFLAGS_SHARED_ATTR += -DPE_EXPORT
CFLAGS_STATIC_ATTR += -DPE_STATIC
CFLAGS_CONFIG += -DMIDIPIX_FREESTANDING -D__NT$(HOST_BITS)