Cygwin preprocessor adjustments

This commit is contained in:
Yang Tse 2006-09-12 01:17:16 +00:00
parent 7c5745720a
commit 5a6c89661a
7 changed files with 7 additions and 7 deletions

View file

@ -61,7 +61,7 @@
*/
int ourerrno(void)
{
#ifdef WIN32
#if defined(WIN32) && !defined(__CYGWIN__)
return (int)GetLastError();
#else
return errno;