mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
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:
commit
e03d6e4584
@ -60,10 +60,15 @@
|
|||||||
#else // unix
|
#else // unix
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
|
#if !defined(STDERR_FILENO)
|
||||||
|
#define STDERR_FILENO 2
|
||||||
|
#endif
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace langutil;
|
using namespace langutil;
|
||||||
namespace po = boost::program_options;
|
namespace po = boost::program_options;
|
||||||
|
Loading…
Reference in New Issue
Block a user