Merge pull request #5964 from ethereum/win32-STDERR_FILENO-fix

Fixes compilation on Windows where STDERR_FILENO seems not to be present.
This commit is contained in:
chriseth 2019-02-11 16:43:41 +01:00 committed by GitHub
commit e03d6e4584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;