Merge pull request #109283 from Nintorch/master

Fix C# environment variables access on Linux (SDL-related bug)
This commit is contained in:
Thaddeus Crews
2025-08-11 09:55:21 -05:00
4 changed files with 86 additions and 3 deletions

View File

@@ -87,9 +87,11 @@
#ifdef __linux__
#define HAVE_INOTIFY 1
#define HAVE_INOTIFY_INIT1 1
#define HAVE_GETENV 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
// Don't add these defines, for some reason they mess with C#'s ability
// to use environment variables (see GH-109024)
//#define HAVE_GETENV 1
//#define HAVE_SETENV 1
//#define HAVE_UNSETENV 1
#endif
#ifdef DBUS_ENABLED