Skip to content

Commit

Permalink
Merge pull request #1285 from yujincheng08/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
rui314 authored Jun 20, 2024
2 parents f9a37e9 + cf9e599 commit bf05198
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elf/cmdline.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
#include <tbb/global_control.h>
#include <unordered_set>

#ifdef _WIN32
#if __has_include(<unistd.h>)
# include <unistd.h>
#else
# define isatty _isatty
# define STDERR_FILENO (_fileno(stderr))
#else
# include <unistd.h>
#endif

namespace mold::elf {
Expand Down

0 comments on commit bf05198

Please sign in to comment.