diff options
author | midipix <writeonce@midipix.org> | 2016-11-19 08:44:11 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-19 08:44:11 -0500 |
commit | 1524fda18c230609a8d415faeba78e16551132b7 (patch) | |
tree | c346f87c3db028883638c2ca96e4b64c1718cd40 | |
parent | 976ebb1c6c32b8e616f9936c6ab519bb821caab8 (diff) | |
download | ntcon-1524fda18c230609a8d415faeba78e16551132b7.tar.bz2 ntcon-1524fda18c230609a8d415faeba78e16551132b7.tar.xz |
ntcon_api.h: fix export/import inconsistency.
-rw-r--r-- | include/ntcon/ntcon_api.h | 4 | ||||
-rw-r--r-- | 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) |