Make sure that TUKLIB_DOSLIKE doesn't get defined on Cygwin.

Thanks to Charles Wilson.
This commit is contained in:
Lasse Collin 2009-09-21 19:50:09 +03:00
parent e599bba421
commit 0deb1bb60a
1 changed files with 2 additions and 1 deletions

View File

@ -60,7 +60,8 @@
# define tuklib_attr_noreturn # define tuklib_attr_noreturn
#endif #endif
#if defined(_WIN32) || defined(__OS2__) || defined(__MSDOS__) #if (defined(_WIN32) && !defined(__CYGWIN__)) \
|| defined(__OS2__) || defined(__MSDOS__)
# define TUKLIB_DOSLIKE 1 # define TUKLIB_DOSLIKE 1
#endif #endif