浏览代码

Add environment variable access defines to SDL linux build config

DanielSnd 2 月之前
父节点
当前提交
71e498509d
共有 1 个文件被更改,包括 3 次插入0 次删除
  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__
 #define HAVE_INOTIFY 1
 #define HAVE_INOTIFY_INIT1 1
+#define HAVE_GETENV 1
+#define HAVE_SETENV 1
+#define HAVE_UNSETENV 1
 #endif
 
 // TODO: handle dynamic loading with SOWRAP_ENABLED