mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
prboom: disable loading config file on redox
This commit is contained in:
parent
cec097e40a
commit
5c30a878c6
@ -1,6 +1,6 @@
|
||||
diff -burpN source-original/configure.ac source/configure.ac
|
||||
--- source-original/configure.ac 2008-11-09 20:12:37.000000000 +0100
|
||||
+++ source/configure.ac 2018-04-22 23:41:16.945896818 +0200
|
||||
--- source-original/configure.ac 2008-11-09 12:12:37.000000000 -0700
|
||||
+++ source/configure.ac 2024-09-07 10:06:36.540104562 -0600
|
||||
@@ -85,8 +85,6 @@ if test "$cross_compiling" != "yes"; the
|
||||
fi
|
||||
|
||||
@ -10,3 +10,19 @@ diff -burpN source-original/configure.ac source/configure.ac
|
||||
AC_DECL_SYS_SIGLIST
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_CHECK_HEADERS(unistd.h asm/byteorder.h sched.h)
|
||||
diff -burpN source-original/src/m_misc.c source/src/m_misc.c
|
||||
--- source-original/src/m_misc.c 2008-11-09 10:13:04.000000000 -0700
|
||||
+++ source/src/m_misc.c 2024-09-07 10:09:06.890301682 -0600
|
||||
@@ -954,6 +954,12 @@ void M_LoadDefaults (void)
|
||||
// read the file in, overriding any set defaults
|
||||
|
||||
f = fopen (defaultfile, "r");
|
||||
+#if defined(__redox__)
|
||||
+ if (f) {
|
||||
+ printf("disabling load of config file on redox\n");
|
||||
+ f = NULL;
|
||||
+ }
|
||||
+#endif
|
||||
if (f)
|
||||
{
|
||||
while (!feof(f))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user