diff options
-rw-r--r-- | include/sofort/sofort_api.h | 4 | ||||
-rw-r--r-- | project/extras.mk | 2 |
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 |