From 9cc8c20157af34dee56bafd9c69a3c08ff3562fc Mon Sep 17 00:00:00 2001 From: Mathias Kraus Date: Tue, 24 Oct 2023 20:16:51 +0200 Subject: [PATCH] iox-#1755 Use fixed values for '*_FILENO' on Windows --- iceoryx_platform/win/include/iceoryx_platform/unistd.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iceoryx_platform/win/include/iceoryx_platform/unistd.hpp b/iceoryx_platform/win/include/iceoryx_platform/unistd.hpp index 2435c692f8..9b8e6dc304 100644 --- a/iceoryx_platform/win/include/iceoryx_platform/unistd.hpp +++ b/iceoryx_platform/win/include/iceoryx_platform/unistd.hpp @@ -28,10 +28,10 @@ #define IOX_SEEK_SET SEEK_SET #define _SC_PAGESIZE 1 #ifndef STDOUT_FILENO -#define STDOUT_FILENO _fileno(stdout) +#define STDOUT_FILENO 1 #endif #ifndef STDERR_FILENO -#define STDERR_FILENO _fileno(stderr) +#define STDERR_FILENO 2 #endif using uid_t = int;