Attempt to fix Cygwin build failure

This commit is contained in:
Robert Osfield 2009-05-19 12:25:54 +00:00
parent 4d9d02e880
commit 94c629b972

View File

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