From 4763453a0904e49e4798d2e30fe0d624db8597fe Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Nov 2016 08:39:45 -0500 Subject: mdso_api.h: fix export/import inconsistency. --- include/mdso/mdso_api.h | 4 ++-- 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 -- cgit v1.2.3