summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/dalist/dalist_api.h4
-rw-r--r--project/extras.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/dalist/dalist_api.h b/include/dalist/dalist_api.h
index b120527..e14249a 100644
--- a/include/dalist/dalist_api.h
+++ b/include/dalist/dalist_api.h
@@ -19,9 +19,9 @@
#endif
/* dalist_api */
-#if defined (DALIST_BUILD)
+#if defined (DALIST_EXPORT)
#define dalist_api dalist_export
-#elif defined (DALIST_SHARED)
+#elif defined (DALIST_IMPORT)
#define dalist_api dalist_import
#elif defined (DALIST_STATIC)
#define dalist_api
diff --git a/project/extras.mk b/project/extras.mk
index 8b53022..24a9529 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,4 +1,4 @@
-CFLAGS_SHARED_ATTR += -DDALIST_BUILD
+CFLAGS_SHARED_ATTR += -DDALIST_EXPORT
CFLAGS_STATIC_ATTR += -DDALIST_STATIC
ifeq ($(OS_BINFMT),PE)