diff options
-rw-r--r-- | include/apimagic/apimagic_api.h | 4 | ||||
-rw-r--r-- | project/extras.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/apimagic/apimagic_api.h b/include/apimagic/apimagic_api.h index 263e2ee..f35deaf 100644 --- a/include/apimagic/apimagic_api.h +++ b/include/apimagic/apimagic_api.h @@ -19,9 +19,9 @@ /* amgc_api */ #ifndef AMGC_APP -#if defined (AMGC_BUILD) +#if defined (AMGC_EXPORT) #define amgc_api amgc_export -#elif defined (AMGC_SHARED) +#elif defined (AMGC_IMPORT) #define amgc_api amgc_import #elif defined (AMGC_STATIC) #define amgc_api diff --git a/project/extras.mk b/project/extras.mk index da2b171..807f5ca 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,4 +1,4 @@ -CFLAGS_SHARED_ATTR += -DAMGC_PRE_ALPHA -DAMGC_BUILD +CFLAGS_SHARED_ATTR += -DAMGC_PRE_ALPHA -DAMGC_EXPORT CFLAGS_STATIC_ATTR += -DAMGC_PRE_ALPHA -DAMGC_STATIC CFLAGS_APP_ATTR += -DAMGC_APP |