From 0deb1bb60addd1306b525e0ac0ad2a84eb0390d9 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 21 Sep 2009 19:50:09 +0300 Subject: [PATCH] Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin. Thanks to Charles Wilson. --- src/common/tuklib_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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