From 890d563655acb4cbd56e9d0dc427c62e4da1090e Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 19 2016 14:17:51 +0000 Subject: slibtool_api.h: fix export/import inconsistency. --- diff --git a/include/slibtool/slibtool_api.h b/include/slibtool/slibtool_api.h index 2be0a47..17e3d87 100644 --- a/include/slibtool/slibtool_api.h +++ b/include/slibtool/slibtool_api.h @@ -19,9 +19,9 @@ /* slbt_api */ #ifndef SLBT_APP -#if defined (SLBT_BUILD) +#if defined (SLBT_EXPORT) #define slbt_api slbt_export -#elif defined (SLBT_SHARED) +#elif defined (SLBT_IMPORT) #define slbt_api slbt_import #elif defined (SLBT_STATIC) #define slbt_api diff --git a/project/extras.mk b/project/extras.mk index 349f9fc..9b69c28 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,4 +1,4 @@ -CFLAGS_SHARED_ATTR += -DSLBT_PRE_ALPHA -DSLBT_BUILD +CFLAGS_SHARED_ATTR += -DSLBT_PRE_ALPHA -DSLBT_EXPORT CFLAGS_STATIC_ATTR += -DSLBT_PRE_ALPHA -DSLBT_STATIC CFLAGS_APP_ATTR += -DSLBT_APP