summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-10 19:16:54 -0500
committermidipix <writeonce@midipix.org>2016-12-10 19:16:54 -0500
commit5cf966326db0ee532a3e1c3a922cb1d4db82d321 (patch)
tree38991996420b645a723ef831df188d55686c73c0 /src
parentefa013f6b615c3c960f3ebd796b11f199667620f (diff)
downloaddalist-5cf966326db0ee532a3e1c3a922cb1d4db82d321.tar.bz2
dalist-5cf966326db0ee532a3e1c3a922cb1d4db82d321.tar.xz
midipix free-standing environment: adjust to forthcoming feature test macro.
Diffstat (limited to 'src')
-rw-r--r--src/dalist_entry_point.c2
-rw-r--r--src/dalist_impl.h2
2 files changed, 2 insertions, 2 deletions
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