mirror of
https://github.com/curl/curl.git
synced 2026-07-26 03:47:17 +03:00
Cygwin preprocessor adjustments
This commit is contained in:
parent
7c5745720a
commit
5a6c89661a
7 changed files with 7 additions and 7 deletions
|
|
@ -112,7 +112,7 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
win32_init();
|
||||
atexit(win32_cleanup);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -552,7 +552,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
win32_init();
|
||||
atexit(win32_cleanup);
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -773,7 +773,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
win32_init();
|
||||
atexit(win32_cleanup);
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -458,7 +458,7 @@ int main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
win32_init();
|
||||
atexit(win32_cleanup);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
*/
|
||||
int ourerrno(void)
|
||||
{
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
return (int)GetLastError();
|
||||
#else
|
||||
return errno;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue