diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 08:50:17 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 08:50:17 -0500 |
commit | a1fa1e770d82fa51a669a3e96287262970946e79 (patch) | |
tree | f3a3974c2d83871255d0b431b5aa316cae1c8152 | |
parent | 64ebb8d639719fb759fec0e1299225bc9291ad74 (diff) | |
download | perk-a1fa1e770d82fa51a669a3e96287262970946e79.tar.bz2 perk-a1fa1e770d82fa51a669a3e96287262970946e79.tar.xz |
perk_api.h: fix export/import inconsistency.
-rw-r--r-- | include/perk/perk_api.h | 4 | ||||
-rw-r--r-- | 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 |