From 2d1da34bebc48b2048f2fad75e4b0e74880eb0c9 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 25 Nov 2025 16:29:43 +0100 Subject: [PATCH] fix getenv_s for Windows --- Stream_support/include/CGAL/IO/Color_ostream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Stream_support/include/CGAL/IO/Color_ostream.h b/Stream_support/include/CGAL/IO/Color_ostream.h index d8fd7414558..ac2d2e37ef5 100644 --- a/Stream_support/include/CGAL/IO/Color_ostream.h +++ b/Stream_support/include/CGAL/IO/Color_ostream.h @@ -40,7 +40,7 @@ # define CGAL_FILENO fileno #endif -#if defined(__STDC_LIB_EXT1__) && defined(_WIN32) +#if defined(__STDC_LIB_EXT1__) || defined(_WIN32) # include # include // for getenv_s # define CGAL_USE_GETENV_S 1