Skip to content
Snippets Groups Projects
Verified Commit 5c30a878 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

prboom: disable loading config file on redox

parent cec097e4
No related branches found
No related tags found
No related merge requests found
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))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment