From ce8faba76b295076bf3781f8c3441bffcd7f69d6 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Nov 2016 08:48:42 -0500 Subject: pe_api.h: fix export/import inconsistency. --- include/pemagine/pe_api.h | 4 ++-- project/extras.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/pemagine/pe_api.h b/include/pemagine/pe_api.h index 923daa9..8a1e9f8 100644 --- a/include/pemagine/pe_api.h +++ b/include/pemagine/pe_api.h @@ -23,9 +23,9 @@ #endif /* pe_api */ -#if defined (PE_BUILD) +#if defined (PE_EXPORT) #define pe_api pe_export -#elif defined (PE_SHARED) +#elif defined (PE_IMPORT) #define pe_api pe_import #elif defined (PE_STATIC) #define pe_api diff --git a/project/extras.mk b/project/extras.mk index d95c532..5f008e4 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,4 +1,4 @@ -CFLAGS_SHARED_ATTR += -DPE_BUILD +CFLAGS_SHARED_ATTR += -DPE_EXPORT CFLAGS_STATIC_ATTR += -DPE_STATIC CFLAGS_CONFIG += -DMIDIPIX_FREESTANDING -D__NT$(HOST_BITS) -- cgit v1.2.3