summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-10 19:28:36 -0500
committermidipix <writeonce@midipix.org>2016-12-10 19:28:36 -0500
commitf2b6c18c945ce5f4185224fbc4762f32e697d28d (patch)
treeccb7afb8cd58076b776f05f5a2a2f0877615a73a
parentfcf74eeb8b9479299f764faf29c9252f941d0c3b (diff)
downloadntcon-f2b6c18c945ce5f4185224fbc4762f32e697d28d.tar.bz2
ntcon-f2b6c18c945ce5f4185224fbc4762f32e697d28d.tar.xz
midipix free-standing environment: adjust to forthcoming feature test macro.
-rw-r--r--include/ntcon/ntcon_env.h2
-rw-r--r--project/extras.mk2
-rw-r--r--src/ntcon_entry_point.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/ntcon/ntcon_env.h b/include/ntcon/ntcon_env.h
index 9257834..c2e3564 100644
--- a/include/ntcon/ntcon_env.h
+++ b/include/ntcon/ntcon_env.h
@@ -1,7 +1,7 @@
#ifndef NTCON_ENV_H
#define NTCON_ENV_H
-#if defined (MIDIPIX_FREESTANDING)
+#if defined (_MIDIPIX_FREESTANDING)
#include <psxtypes/psxtypes.h>
diff --git a/project/extras.mk b/project/extras.mk
index f4a0605..03b5c36 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -1,7 +1,7 @@
CFLAGS_SHARED_ATTR += -DNTCON_EXPORT
CFLAGS_STATIC_ATTR += -DNTCON_STATIC
-CFLAGS_CONFIG += -DMIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
+CFLAGS_CONFIG += -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
CFLAGS_CONFIG += -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
CFLAGS_CONFIG += -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
diff --git a/src/ntcon_entry_point.c b/src/ntcon_entry_point.c
index bfb91b3..724c17a 100644
--- a/src/ntcon_entry_point.c
+++ b/src/ntcon_entry_point.c
@@ -1,4 +1,4 @@
-#ifdef MIDIPIX_FREESTANDING
+#ifdef _MIDIPIX_FREESTANDING
#include <ntcon/ntcon.h>