From 1524fda18c230609a8d415faeba78e16551132b7 Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 19 2016 13:44:11 +0000 Subject: ntcon_api.h: fix export/import inconsistency. --- 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)