summaryrefslogtreecommitdiffhomepage
path: root/src/init
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-07 07:59:24 +0000
committermidipix <writeonce@midipix.org>2018-06-08 20:48:11 -0400
commit12e96021d0004e053be1e8660009dff79f5bcb04 (patch)
tree941e41bc96f516d2ce532f08157ecd78c2e84ccb /src/init
parentc25ab8758d3613cecf961d23f6978042e01f05b0 (diff)
downloadntux-12e96021d0004e053be1e8660009dff79f5bcb04.tar.bz2
ntux-12e96021d0004e053be1e8660009dff79f5bcb04.tar.xz
src/init: #define PE_LDSO in a CFLAGS-friendly way.
Diffstat (limited to 'src/init')
-rw-r--r--src/init/ntux_init_ldso.c4
-rw-r--r--src/init/ntux_init_vrfs.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/init/ntux_init_ldso.c b/src/init/ntux_init_ldso.c
index 56ac404..992d6db 100644
--- a/src/init/ntux_init_ldso.c
+++ b/src/init/ntux_init_ldso.c
@@ -4,7 +4,9 @@
/* Released under GPLv2 and GPLv3; see COPYING.NTUX. */
/***********************************************************/
-#define PE_LDSO
+#ifndef PE_LDSO
+#define PE_LDSO 1
+#endif
#include <psxtypes/psxtypes.h>
#include <pemagine/pemagine.h>
diff --git a/src/init/ntux_init_vrfs.c b/src/init/ntux_init_vrfs.c
index ea86631..708dd11 100644
--- a/src/init/ntux_init_vrfs.c
+++ b/src/init/ntux_init_vrfs.c
@@ -4,7 +4,9 @@
/* Released under GPLv2 and GPLv3; see COPYING.NTUX. */
/***********************************************************/
-#define PE_LDSO
+#ifndef PE_LDSO
+#define PE_LDSO 1
+#endif
#include <psxtypes/psxtypes.h>
#include <pemagine/pemagine.h>