We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d9ae2 commit 4a7be16Copy full SHA for 4a7be16
src/catch2/internal/catch_compiler_capabilities.hpp
@@ -156,7 +156,9 @@
156
157
////////////////////////////////////////////////////////////////////////////////
158
// Assume that some platforms do not support getenv.
159
-#if defined(CATCH_PLATFORM_WINDOWS_UWP) || defined(CATCH_PLATFORM_PLAYSTATION)
+#if defined( CATCH_PLATFORM_WINDOWS_UWP ) || \
160
+ defined( CATCH_PLATFORM_PLAYSTATION ) || \
161
+ defined( _GAMING_XBOX )
162
# define CATCH_INTERNAL_CONFIG_NO_GETENV
163
#else
164
# define CATCH_INTERNAL_CONFIG_GETENV
0 commit comments