diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 08:34:16 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-18 09:04:18 -0500 |
commit | 2902772ac2be3b74f2825d1982b2a573add60f12 (patch) | |
tree | 2d04e29fe1f430d538b5902318fc00f36b7326a6 | |
parent | 302ec1c763217e03267f68116039854cca498499 (diff) | |
download | apimagic-2902772ac2be3b74f2825d1982b2a573add60f12.tar.bz2 apimagic-2902772ac2be3b74f2825d1982b2a573add60f12.tar.xz |
apimagic_api.h: fix export/import inconsistency.
-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 |