22 lines
727 B
Diff
22 lines
727 B
Diff
diff -ruN sdl2-compat-2.32.70/src/sdl2_compat.c sdl2-compat-2.32.70-banan_os/src/sdl2_compat.c
|
|
--- sdl2-compat-2.32.70/src/sdl2_compat.c 2026-06-08 18:01:06.000000000 +0300
|
|
+++ sdl2-compat-2.32.70-banan_os/src/sdl2_compat.c 2026-07-04 00:34:09.939149767 +0300
|
|
@@ -96,7 +96,7 @@
|
|
#undef snprintf
|
|
#undef vsnprintf
|
|
|
|
-#if defined(__linux__) || defined(__GNU__)
|
|
+#if defined(__linux__) || defined(__GNU__) || defined(__banan_os__)
|
|
#include <unistd.h> /* for readlink() */
|
|
#endif
|
|
|
|
@@ -546,7 +546,7 @@
|
|
#endif
|
|
};
|
|
|
|
-#if defined(__linux__) || defined(__GNU__)
|
|
+#if defined(__linux__) || defined(__GNU__) || defined(__banan_os__)
|
|
static void OS_GetExeName(char *buf, const unsigned maxpath, bool *use_base_path)
|
|
{
|
|
int ret;
|