[Scummvm-git-logs] scummvm master -> 23558a4ff6ac5cba07b5bc218228a85a8c09486d

ccawley2011 noreply at scummvm.org
Sat Mar 26 20:02:42 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
23558a4ff6 SDL: Fix compilation for Alpine Linux


Commit: 23558a4ff6ac5cba07b5bc218228a85a8c09486d
    https://github.com/scummvm/scummvm/commit/23558a4ff6ac5cba07b5bc218228a85a8c09486d
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2022-03-26T19:59:26Z

Commit Message:
SDL: Fix compilation for Alpine Linux

Changed paths:
    backends/platform/sdl/sdl-sys.h


diff --git a/backends/platform/sdl/sdl-sys.h b/backends/platform/sdl/sdl-sys.h
index a7c1d7ede09..ab1eb3a2a5f 100644
--- a/backends/platform/sdl/sdl-sys.h
+++ b/backends/platform/sdl/sdl-sys.h
@@ -59,6 +59,11 @@
 #define system FAKE_system
 #endif
 
+#if !defined(FORBIDDEN_SYMBOL_ALLOW_ALL) && !defined(FORBIDDEN_SYMBOL_EXCEPTION_mkdir)
+#undef mkdir
+#define mkdir FAKE_mkdir
+#endif
+
 // Fix compilation with MacPorts SDL 2
 // It needs various (usually forbidden) symbols from time.h
 #ifndef FORBIDDEN_SYMBOL_EXCEPTION_time_h
@@ -249,6 +254,11 @@
 #define system(a) FORBIDDEN_look_at_common_forbidden_h_for_more_info SYMBOL !%*
 #endif
 
+#if !defined(FORBIDDEN_SYMBOL_ALLOW_ALL) && !defined(FORBIDDEN_SYMBOL_EXCEPTION_mkdir)
+#undef mkdir
+#define mkdir(a,b) FORBIDDEN_look_at_common_forbidden_h_for_more_info SYMBOL !%*
+#endif
+
 // re-forbid all those time.h symbols again (if they were forbidden)
 #ifndef FORBIDDEN_SYMBOL_EXCEPTION_time_h
 




More information about the Scummvm-git-logs mailing list