aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-09-21 19:50:09 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-09-21 19:50:09 +0300
commit0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 (patch)
tree339e4b41d6abc9109d5d706ba6238c360adfb881 /src/common
parentVarious changes. (diff)
downloadxz-0deb1bb60addd1306b525e0ac0ad2a84eb0390d9.tar.xz
Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.
Thanks to Charles Wilson.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/tuklib_common.h3
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