Sfoglia il codice sorgente

Merge pull request #108350 from DanielSnd/linux_sdl_env_variables_access

Add environment variable access defines to SDL linux build config
Thaddeus Crews 1 mese fa
parent
commit
f884f24212
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      drivers/sdl/SDL_build_config_private.h

+ 3 - 0
drivers/sdl/SDL_build_config_private.h

@@ -87,6 +87,9 @@
 #ifdef __linux__
 #ifdef __linux__
 #define HAVE_INOTIFY 1
 #define HAVE_INOTIFY 1
 #define HAVE_INOTIFY_INIT1 1
 #define HAVE_INOTIFY_INIT1 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_UNSETENV 1
 #endif
 #endif
 
 
 // TODO: handle dynamic loading with SOWRAP_ENABLED
 // TODO: handle dynamic loading with SOWRAP_ENABLED