summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 09:17:51 -0500
committermidipix <writeonce@midipix.org>2016-11-19 09:17:51 -0500
commit890d563655acb4cbd56e9d0dc427c62e4da1090e (patch)
treece2af4f2b2e347f0740d262b3c92fc336570c334
parent3599b71ac1294b8785f21dcde358627c43bb60f4 (diff)
downloadslibtool-890d563655acb4cbd56e9d0dc427c62e4da1090e.tar.bz2
slibtool-890d563655acb4cbd56e9d0dc427c62e4da1090e.tar.xz
slibtool_api.h: fix export/import inconsistency.
-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