22 lines
639 B
Diff
22 lines
639 B
Diff
diff -ruN sdl12-compat-1.2.76/src/SDL12_compat.c sdl12-compat-1.2.76-banan_os/src/SDL12_compat.c
|
|
--- sdl12-compat-1.2.76/src/SDL12_compat.c 2026-04-04 03:40:25.000000000 +0300
|
|
+++ sdl12-compat-1.2.76-banan_os/src/SDL12_compat.c 2026-07-04 09:13:14.105336073 +0300
|
|
@@ -57,7 +57,7 @@
|
|
#undef snprintf
|
|
#undef vsnprintf
|
|
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__banan_os__)
|
|
#include <unistd.h> /* for readlink() */
|
|
#endif
|
|
|
|
@@ -1486,7 +1486,7 @@
|
|
#endif
|
|
};
|
|
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__banan_os__)
|
|
static void OS_GetExeName(char *buf, const unsigned maxpath) {
|
|
int ret;
|
|
buf[0] = '\0';
|