Skip to content

Commit

Permalink
used _fileno
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavankumar07s committed Nov 14, 2024
1 parent 0b07f2e commit e535cc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@

#include "command.h"
#include "configure.h"

#ifdef _WIN32
#include <io.h>
#define isatty _isatty
#define fileno _fileno
#else

#include <unistd.h>
#endif
#include <termcolor/termcolor.hpp>
Expand Down

0 comments on commit e535cc7

Please sign in to comment.