summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/dalist/dalist_env.h2
-rw-r--r--project/extras.mk2
-rw-r--r--src/dalist_entry_point.c2
-rw-r--r--src/dalist_impl.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/dalist/dalist_env.h b/include/dalist/dalist_env.h
index 8c8ab0f..ee27f58 100644
--- a/include/dalist/dalist_env.h
+++ b/include/dalist/dalist_env.h
@@ -1,7 +1,7 @@
#ifndef DALIST_ENV_H
#define DALIST_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 24a9529..9033403 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -2,7 +2,7 @@ CFLAGS_SHARED_ATTR += -DDALIST_EXPORT
CFLAGS_STATIC_ATTR += -DDALIST_STATIC
ifeq ($(OS_BINFMT),PE)
- 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/dalist_entry_point.c b/src/dalist_entry_point.c
index c8d37aa..d8d1a53 100644
--- a/src/dalist_entry_point.c
+++ b/src/dalist_entry_point.c
@@ -1,4 +1,4 @@
-#ifdef MIDIPIX_FREESTANDING
+#ifdef _MIDIPIX_FREESTANDING
#include <dalist/dalist.h>
diff --git a/src/dalist_impl.h b/src/dalist_impl.h
index d80c65e..3207600 100644
--- a/src/dalist_impl.h
+++ b/src/dalist_impl.h
@@ -17,7 +17,7 @@ typedef dalist_memfn_nt_allocvm memfn_allocvm;
#define NT_MEM_RELEASE (0x8000u)
/* host environment */
-#if defined (MIDIPIX_FREESTANDING)
+#if defined (_MIDIPIX_FREESTANDING)
#define dalist_errno(x) x
#define PROT_READ 1
#define PROT_WRITE 2