mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 11:23:29 +01:00
Fix compilation on Xbox platforms
Xbox does not support getenv
This commit is contained in:
parent
32d9ae24bc
commit
4a7be16c8c
@ -156,7 +156,9 @@
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Assume that some platforms do not support getenv.
|
||||
#if defined(CATCH_PLATFORM_WINDOWS_UWP) || defined(CATCH_PLATFORM_PLAYSTATION)
|
||||
#if defined( CATCH_PLATFORM_WINDOWS_UWP ) || \
|
||||
defined( CATCH_PLATFORM_PLAYSTATION ) || \
|
||||
defined( _GAMING_XBOX )
|
||||
# define CATCH_INTERNAL_CONFIG_NO_GETENV
|
||||
#else
|
||||
# define CATCH_INTERNAL_CONFIG_GETENV
|
||||
|
Loading…
Reference in New Issue
Block a user