Fix compilation on Windows
This commit is contained in:
parent
c6501ffe97
commit
b9838091fd
@ -26,9 +26,15 @@
|
||||
#include <fstream>
|
||||
#include <cstdlib>
|
||||
#include <cctype>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#define STDIN_FILENO 0
|
||||
#define STDOUT_FILENO 1
|
||||
#define STDERR_FILENO 2
|
||||
#endif
|
||||
|
||||
using namespace clang;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user