Skip to content

Commit

Permalink
guard unistd.h with !defined(_MSC_VER) (#11415)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Oct 20, 2023
1 parent 096dd04 commit 12c0c7a
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -48,7 +48,9 @@
# define read _read
# define write _write
# define close _close
#else
#endif

#if !defined(_MSC_VER)
#include <unistd.h>
#endif

Expand Down

0 comments on commit 12c0c7a

Please sign in to comment.