Fix C# environment variables (SDL-related issue)

For some reason, these SDL defines mess with C#'s ability to use environment variables
This commit is contained in:
Nintorch
2025-07-30 19:14:49 +05:00
parent 45509c284c
commit 5876648666
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