summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-19 09:20:21 -0500
committermidipix <writeonce@midipix.org>2016-11-19 09:20:21 -0500
commit75fd9086b99b5406c19061b49385fb38ddf67a9d (patch)
tree97905f18b28df5ec59dd489c84e4ffa0bcfd4d30
parented433b6affab2e3274bc336e8e4c6a31240e7fbc (diff)
downloadsofort-75fd9086b99b5406c19061b49385fb38ddf67a9d.tar.bz2
sofort-75fd9086b99b5406c19061b49385fb38ddf67a9d.tar.xz
sofort_api.h: fix export/import inconsistency.
-rw-r--r--include/sofort/sofort_api.h4
-rw-r--r--project/extras.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sofort/sofort_api.h b/include/sofort/sofort_api.h
index 26659fd..1303d3c 100644
--- a/include/sofort/sofort_api.h
+++ b/include/sofort/sofort_api.h
@@ -19,9 +19,9 @@
/* sfrt_api */
#ifndef SFRT_APP
-#if defined (SFRT_BUILD)
+#if defined (SFRT_EXPORT)
#define sfrt_api sfrt_export
-#elif defined (SFRT_SHARED)
+#elif defined (SFRT_IMPORT)
#define sfrt_api sfrt_import
#elif defined (SFRT_STATIC)
#define sfrt_api
diff --git a/project/extras.mk b/project/extras.mk
index 543e9d1..4d79ec5 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,4 +1,4 @@
-CFLAGS_SHARED_ATTR += -DSFRT_PRE_ALPHA -DSFRT_BUILD
+CFLAGS_SHARED_ATTR += -DSFRT_PRE_ALPHA -DSFRT_EXPORT
CFLAGS_STATIC_ATTR += -DSFRT_PRE_ALPHA -DSFRT_STATIC
CFLAGS_APP_ATTR += -DSFRT_APP