Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1755 Use fixed values for '*_FILENO' on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Oct 24, 2023
1 parent b125d2c commit 9cc8c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iceoryx_platform/win/include/iceoryx_platform/unistd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9cc8c20

Please sign in to comment.