Attempt to fix Cygwin build failure
This commit is contained in:
parent
4d9d02e880
commit
94c629b972
@ -120,9 +120,11 @@ ReaderWriter::FeatureList ReaderWriter::featureAsString(ReaderWriter::Features f
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
#include <io.h>
|
||||
#ifndef F_OK
|
||||
#define F_OK 4
|
||||
#endif
|
||||
#ifndef F_OK
|
||||
#define F_OK 4
|
||||
#endif
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
bool ReaderWriter::fileExists(const std::string& filename, const Options* /*options*/) const
|
||||
|
Loading…
Reference in New Issue
Block a user