Fixes compilation on Windows where STDERR_FILENO seems not to be present.

This commit is contained in:
Christian Parpart 2019-02-11 15:27:08 +01:00
parent 49cd55d3a0
commit cebeb4076c

View File

@ -60,10 +60,15 @@
#else // unix
#include <unistd.h>
#endif
#include <string>
#include <iostream>
#include <fstream>
#if !defined(STDERR_FILENO)
#define STDERR_FILENO 2
#endif
using namespace std;
using namespace langutil;
namespace po = boost::program_options;