summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/perk/perk_api.h4
-rw-r--r--project/extras.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/perk/perk_api.h b/include/perk/perk_api.h
index 450cd4a..55c54a2 100644
--- a/include/perk/perk_api.h
+++ b/include/perk/perk_api.h
@@ -19,9 +19,9 @@
/* perk_api */
#ifndef PERK_APP
-#if defined (PERK_BUILD)
+#if defined (PERK_EXPORT)
#define perk_api perk_export
-#elif defined (PERK_SHARED)
+#elif defined (PERK_IMPORT)
#define perk_api perk_import
#elif defined (PERK_STATIC)
#define perk_api
diff --git a/project/extras.mk b/project/extras.mk
index 38ef68b..18bfc9e 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,4 +1,4 @@
-CFLAGS_SHARED_ATTR += -DPERK_PRE_ALPHA -DPERK_BUILD
+CFLAGS_SHARED_ATTR += -DPERK_PRE_ALPHA -DPERK_EXPORT
CFLAGS_STATIC_ATTR += -DPERK_PRE_ALPHA -DPERK_STATIC
CFLAGS_APP_ATTR += -DPERK_APP