summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntcon/ntcon_api.h4
-rw-r--r--project/extras.mk2
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)