diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-09-21 19:50:09 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-09-21 19:50:09 +0300 |
commit | 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 (patch) | |
tree | 339e4b41d6abc9109d5d706ba6238c360adfb881 | |
parent | Various changes. (diff) | |
download | xz-0deb1bb60addd1306b525e0ac0ad2a84eb0390d9.tar.xz |
Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
Thanks to Charles Wilson.
-rw-r--r-- | src/common/tuklib_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tuklib_common.h b/src/common/tuklib_common.h index d2642f8b..791b8947 100644 --- a/src/common/tuklib_common.h +++ b/src/common/tuklib_common.h @@ -60,7 +60,8 @@ # define tuklib_attr_noreturn #endif -#if defined(_WIN32) || defined(__OS2__) || defined(__MSDOS__) +#if (defined(_WIN32) && !defined(__CYGWIN__)) \ + || defined(__OS2__) || defined(__MSDOS__) # define TUKLIB_DOSLIKE 1 #endif |