fix getenv_s for Windows

This commit is contained in:
Laurent Rineau 2025-11-25 16:29:43 +01:00
parent 77bac5866b
commit 2d1da34beb
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
# define CGAL_FILENO fileno # define CGAL_FILENO fileno
#endif #endif
#if defined(__STDC_LIB_EXT1__) && defined(_WIN32) #if defined(__STDC_LIB_EXT1__) || defined(_WIN32)
# include <array> # include <array>
# include <stdlib.h> // for getenv_s # include <stdlib.h> // for getenv_s
# define CGAL_USE_GETENV_S 1 # define CGAL_USE_GETENV_S 1