diff options
author | Ivan Vanyushkin <vanav@vanav.org> | 2016-09-29 21:46:45 +0300 |
---|---|---|
committer | Ivan Vanyushkin <vanav@vanav.org> | 2016-09-29 21:46:45 +0300 |
commit | c2785590834dfe91574367f4256918c37b6ddfcc (patch) | |
tree | 9fa8e9ac135f1ad9f1e5d09d20606aea0ac0dc86 /src/system.hh.in | |
parent | 258cab91ab702e82d477b41bb1c6a026c848bda5 (diff) | |
download | fork-ledger-c2785590834dfe91574367f4256918c37b6ddfcc.tar.gz fork-ledger-c2785590834dfe91574367f4256918c37b6ddfcc.tar.bz2 fork-ledger-c2785590834dfe91574367f4256918c37b6ddfcc.zip |
Fix build under Cygwin.
Diffstat (limited to 'src/system.hh.in')
-rw-r--r-- | src/system.hh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.hh.in b/src/system.hh.in index 105436f6..331f7a0e 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -144,7 +144,7 @@ typedef std::ostream::pos_type ostream_pos_type; #endif #include <sys/stat.h> -#if defined(_WIN32) +#if defined(_WIN32) || defined(__CYGWIN__) #include <io.h> #else #include <unistd.h> |