diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 08:48:42 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 08:48:42 -0500 |
commit | ce8faba76b295076bf3781f8c3441bffcd7f69d6 (patch) | |
tree | be449cb0dd3a0f179ce9ac66c680f43d070c0aea | |
parent | 3ec8e90fae48f4cdf99a2575171c04631c2cf205 (diff) | |
download | pemagine-ce8faba76b295076bf3781f8c3441bffcd7f69d6.tar.bz2 pemagine-ce8faba76b295076bf3781f8c3441bffcd7f69d6.tar.xz |
pe_api.h: fix export/import inconsistency.
-rw-r--r-- | include/pemagine/pe_api.h | 4 | ||||
-rw-r--r-- | 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) |