summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/slibtool/slibtool_api.h4
-rw-r--r--project/extras.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/slibtool/slibtool_api.h b/include/slibtool/slibtool_api.h
index 2be0a47..17e3d87 100644
--- a/include/slibtool/slibtool_api.h
+++ b/include/slibtool/slibtool_api.h
@@ -19,9 +19,9 @@
/* slbt_api */
#ifndef SLBT_APP
-#if defined (SLBT_BUILD)
+#if defined (SLBT_EXPORT)
#define slbt_api slbt_export
-#elif defined (SLBT_SHARED)
+#elif defined (SLBT_IMPORT)
#define slbt_api slbt_import
#elif defined (SLBT_STATIC)
#define slbt_api
diff --git a/project/extras.mk b/project/extras.mk
index 349f9fc..9b69c28 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,4 +1,4 @@
-CFLAGS_SHARED_ATTR += -DSLBT_PRE_ALPHA -DSLBT_BUILD
+CFLAGS_SHARED_ATTR += -DSLBT_PRE_ALPHA -DSLBT_EXPORT
CFLAGS_STATIC_ATTR += -DSLBT_PRE_ALPHA -DSLBT_STATIC
CFLAGS_APP_ATTR += -DSLBT_APP