From 75fd9086b99b5406c19061b49385fb38ddf67a9d Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 19 2016 14:20:21 +0000 Subject: sofort_api.h: fix export/import inconsistency. --- 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