Skip to content

Commit

Permalink
add alias for isatty
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenscroftj committed May 29, 2023
1 parent 38cb4f3 commit 99f187e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/codegen/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
#define STDOUT_FILENO 1 /* Standard output. */
#define STDERR_FILENO 2 /* Standard error output. */

#include <io.h>

auto isatty = _isatty;

#else
#include <unistd.h>
#endif
Expand Down

0 comments on commit 99f187e

Please sign in to comment.