diff options
author | midipix <writeonce@midipix.org> | 2016-12-10 19:21:41 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-10 19:21:41 -0500 |
commit | b80821b1a7d30d36e1a844036720cf682d5dda0f (patch) | |
tree | 3641b9ab4e6c9d477562465d6b8c3ac6dcce3c7a | |
parent | 9183f7997b95df0cd5eee5698a4bd5f79ee5feb9 (diff) | |
download | pemagine-b80821b1a7d30d36e1a844036720cf682d5dda0f.tar.bz2 pemagine-b80821b1a7d30d36e1a844036720cf682d5dda0f.tar.xz |
midipix free-standing environment: adjust to forthcoming feature test macro.
-rw-r--r-- | include/pemagine/pe_api.h | 2 | ||||
-rw-r--r-- | project/extras.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pemagine/pe_api.h b/include/pemagine/pe_api.h index 8a1e9f8..e192484 100644 --- a/include/pemagine/pe_api.h +++ b/include/pemagine/pe_api.h @@ -2,7 +2,7 @@ #define PE_API_H /* portable integer types */ -#if defined (MIDIPIX_FREESTANDING) +#if defined (_MIDIPIX_FREESTANDING) #include <psxtypes/psxtypes.h> #else #include <stdint.h> diff --git a/project/extras.mk b/project/extras.mk index 5f008e4..f9ddb03 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,7 +1,7 @@ CFLAGS_SHARED_ATTR += -DPE_EXPORT CFLAGS_STATIC_ATTR += -DPE_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__ |