Fix compilation on Windows

This commit is contained in:
Bertrand Bellenot 2014-02-03 14:02:56 +01:00 committed by sftnight
parent c6501ffe97
commit b9838091fd

View File

@ -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;