From a1fa1e770d82fa51a669a3e96287262970946e79 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Nov 2016 08:50:17 -0500 Subject: perk_api.h: fix export/import inconsistency. --- include/perk/perk_api.h | 4 ++-- project/extras.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/perk/perk_api.h b/include/perk/perk_api.h index 450cd4a..55c54a2 100644 --- a/include/perk/perk_api.h +++ b/include/perk/perk_api.h @@ -19,9 +19,9 @@ /* perk_api */ #ifndef PERK_APP -#if defined (PERK_BUILD) +#if defined (PERK_EXPORT) #define perk_api perk_export -#elif defined (PERK_SHARED) +#elif defined (PERK_IMPORT) #define perk_api perk_import #elif defined (PERK_STATIC) #define perk_api diff --git a/project/extras.mk b/project/extras.mk index 38ef68b..18bfc9e 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,4 +1,4 @@ -CFLAGS_SHARED_ATTR += -DPERK_PRE_ALPHA -DPERK_BUILD +CFLAGS_SHARED_ATTR += -DPERK_PRE_ALPHA -DPERK_EXPORT CFLAGS_STATIC_ATTR += -DPERK_PRE_ALPHA -DPERK_STATIC CFLAGS_APP_ATTR += -DPERK_APP -- cgit v1.2.3