From 1524fda18c230609a8d415faeba78e16551132b7 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Nov 2016 08:44:11 -0500 Subject: ntcon_api.h: fix export/import inconsistency. --- include/ntcon/ntcon_api.h | 4 ++-- project/extras.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ntcon/ntcon_api.h b/include/ntcon/ntcon_api.h index 15c89e8..dd5d71b 100644 --- a/include/ntcon/ntcon_api.h +++ b/include/ntcon/ntcon_api.h @@ -19,9 +19,9 @@ #endif /* ntcon_api */ -#if defined (NTCON_BUILD) +#if defined (NTCON_EXPORT) #define ntcon_api ntcon_export -#elif defined (NTCON_SHARED) +#elif defined (NTCON_IMPORT) #define ntcon_api ntcon_import #elif defined (NTCON_STATIC) #define ntcon_api diff --git a/project/extras.mk b/project/extras.mk index cfc240f..f4a0605 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,4 +1,4 @@ -CFLAGS_SHARED_ATTR += -DNTCON_BUILD +CFLAGS_SHARED_ATTR += -DNTCON_EXPORT CFLAGS_STATIC_ATTR += -DNTCON_STATIC CFLAGS_CONFIG += -DMIDIPIX_FREESTANDING -D__NT$(HOST_BITS) -- cgit v1.2.3