summaryrefslogtreecommitdiffhomepage
path: root/crt/nt32
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-15 09:12:33 -0400
committermidipix <writeonce@midipix.org>2017-10-15 09:43:16 -0400
commit4b0868b64dd91b3353719636d9ae35fe5700ead1 (patch)
treec55ada4b366cd5687ba7e67ee9219a4836a7bdbf /crt/nt32
parentbd952743367f27123fa4acb4765613843a222a40 (diff)
downloadmmglue-4b0868b64dd91b3353719636d9ae35fe5700ead1.tar.bz2
mmglue-4b0868b64dd91b3353719636d9ae35fe5700ead1.tar.xz
psxglue.h: renamed __PSXOPT_TTYDBG --> __PSXOPT_DEBUG.
Diffstat (limited to 'crt/nt32')
-rw-r--r--crt/nt32/crt1.c4
-rw-r--r--crt/nt32/crtdebug.c3
-rw-r--r--crt/nt32/crtdev.c3
3 files changed, 5 insertions, 5 deletions
diff --git a/crt/nt32/crt1.c b/crt/nt32/crt1.c
index 90a6007..6605bcb 100644
--- a/crt/nt32/crt1.c
+++ b/crt/nt32/crt1.c
@@ -13,7 +13,7 @@
static const int __disabled = 0;
extern const int __crtopt_posix __attribute((weak,alias("__disabled")));
-extern const int __crtopt_ttydbg __attribute((weak,alias("__disabled")));
+extern const int __crtopt_debug __attribute((weak,alias("__disabled")));
int main();
@@ -28,6 +28,6 @@ void start(void)
__libc_entry_routine(
main,
__psx_init,
- __crtopt_posix | __crtopt_ttydbg);
+ __crtopt_posix | __crtopt_debug);
}
diff --git a/crt/nt32/crtdebug.c b/crt/nt32/crtdebug.c
new file mode 100644
index 0000000..4f4f6d2
--- /dev/null
+++ b/crt/nt32/crtdebug.c
@@ -0,0 +1,3 @@
+#include "psxglue.h"
+
+const int __crtopt_debug = __PSXOPT_DEBUG;
diff --git a/crt/nt32/crtdev.c b/crt/nt32/crtdev.c
deleted file mode 100644
index 8aa80e6..0000000
--- a/crt/nt32/crtdev.c
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "psxglue.h"
-
-const int __crtopt_ttydbg = __PSXOPT_TTYDBG;