From ca024c47e1305697b3e376dade6fdbed6c60d75d Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 19 2016 13:37:16 +0000 Subject: dalist_api.h: fix export/import inconsistency. --- diff --git a/include/dalist/dalist_api.h b/include/dalist/dalist_api.h index b120527..e14249a 100644 --- a/include/dalist/dalist_api.h +++ b/include/dalist/dalist_api.h @@ -19,9 +19,9 @@ #endif /* dalist_api */ -#if defined (DALIST_BUILD) +#if defined (DALIST_EXPORT) #define dalist_api dalist_export -#elif defined (DALIST_SHARED) +#elif defined (DALIST_IMPORT) #define dalist_api dalist_import #elif defined (DALIST_STATIC) #define dalist_api diff --git a/project/extras.mk b/project/extras.mk index 8b53022..24a9529 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,4 +1,4 @@ -CFLAGS_SHARED_ATTR += -DDALIST_BUILD +CFLAGS_SHARED_ATTR += -DDALIST_EXPORT CFLAGS_STATIC_ATTR += -DDALIST_STATIC ifeq ($(OS_BINFMT),PE)