Browse Source

Define SDL_DIALOG_DUMMY in SDL_build_config.h as needed

Sam Lantinga 6 months ago
parent
commit
f6fa617139

+ 3 - 0
include/build_config/SDL_build_config.h.cmake

@@ -505,6 +505,9 @@
 #cmakedefine SDL_CAMERA_DRIVER_PIPEWIRE @SDL_CAMERA_DRIVER_PIPEWIRE@
 #cmakedefine SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC @SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC@
 
+/* Enable dialog subsystem */
+#cmakedefine SDL_DIALOG_DUMMY @SDL_DIALOG_DUMMY@
+
 /* Enable misc subsystem */
 #cmakedefine SDL_MISC_DUMMY @SDL_MISC_DUMMY@
 

+ 3 - 0
include/build_config/SDL_build_config_emscripten.h

@@ -211,4 +211,7 @@
 /* Enable the camera driver */
 #define SDL_CAMERA_DRIVER_EMSCRIPTEN  1
 
+/* Enable dialog subsystem */
+#define SDL_DIALOG_DUMMY 1
+
 #endif /* SDL_build_config_emscripten_h */

+ 1 - 0
include/build_config/SDL_build_config_ios.h

@@ -227,6 +227,7 @@
 
 #define SDL_CAMERA_DRIVER_DUMMY 1
 
+/* Enable dialog subsystem */
 #define SDL_DIALOG_DUMMY 1
 
 #endif /* SDL_build_config_ios_h_ */

+ 3 - 0
include/build_config/SDL_build_config_minimal.h

@@ -96,4 +96,7 @@ typedef unsigned int uintptr_t;
 /* Enable the camera driver (src/camera/dummy/\*.c) */
 #define SDL_CAMERA_DRIVER_DUMMY  1
 
+/* Enable dialog subsystem */
+#define SDL_DIALOG_DUMMY 1
+
 #endif /* SDL_build_config_minimal_h_ */

+ 3 - 0
include/build_config/SDL_build_config_ngage.h

@@ -93,4 +93,7 @@ typedef unsigned long      uintptr_t;
 /* Enable the camera driver (src/camera/dummy/\*.c) */
 #define SDL_CAMERA_DRIVER_DUMMY  1
 
+/* Enable dialog subsystem */
+#define SDL_DIALOG_DUMMY 1
+
 #endif /* SDL_build_config_ngage_h_ */