diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 08:39:45 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 08:39:45 -0500 |
commit | 4763453a0904e49e4798d2e30fe0d624db8597fe (patch) | |
tree | e09afb63df84b4f952e7586daf40ac9a88aa5c4c | |
parent | 15d83a9a55652c47e3ff555f025c80b7a886b89b (diff) | |
download | mdso-4763453a0904e49e4798d2e30fe0d624db8597fe.tar.bz2 mdso-4763453a0904e49e4798d2e30fe0d624db8597fe.tar.xz |
mdso_api.h: fix export/import inconsistency.
-rw-r--r-- | include/mdso/mdso_api.h | 4 | ||||
-rw-r--r-- | project/extras.mk | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/mdso/mdso_api.h b/include/mdso/mdso_api.h index 196630d..2ad29b1 100644 --- a/include/mdso/mdso_api.h +++ b/include/mdso/mdso_api.h @@ -19,9 +19,9 @@ /* mdso_api */ #ifndef MDSO_APP -#if defined (MDSO_BUILD) +#if defined (MDSO_EXPORT) #define mdso_api mdso_export -#elif defined (MDSO_SHARED) +#elif defined (MDSO_IMPORT) #define mdso_api mdso_import #elif defined (MDSO_STATIC) #define mdso_api diff --git a/project/extras.mk b/project/extras.mk index ce65312..daace5f 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,4 +1,4 @@ -CFLAGS_SHARED_ATTR += -DMDSO_PRE_ALPHA -DMDSO_BUILD +CFLAGS_SHARED_ATTR += -DMDSO_PRE_ALPHA -DMDSO_EXPORT CFLAGS_STATIC_ATTR += -DMDSO_PRE_ALPHA -DMDSO_STATIC CFLAGS_APP_ATTR += -DMDSO_APP |