mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:01:41 +03:00
parent
bea86dad6e
commit
392b73ac99
2 changed files with 3 additions and 6 deletions
|
|
@ -168,19 +168,15 @@ static CURLcode global_init(long flags, bool memoryfuncs)
|
|||
goto fail;
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
if(Curl_win32_init(flags)) {
|
||||
DEBUGF(fprintf(stderr, "Error: win32_init failed\n"));
|
||||
goto fail;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __AMIGA__
|
||||
if(Curl_amiga_init()) {
|
||||
DEBUGF(fprintf(stderr, "Error: Curl_amiga_init failed\n"));
|
||||
goto fail;
|
||||
}
|
||||
#endif
|
||||
|
||||
if(Curl_macos_init()) {
|
||||
DEBUGF(fprintf(stderr, "Error: Curl_macos_init failed\n"));
|
||||
|
|
|
|||
|
|
@ -42,7 +42,8 @@ extern IF_NAMETOINDEX_FN Curl_if_nametoindex;
|
|||
|
||||
/* This is used to dynamically load DLLs */
|
||||
HMODULE Curl_load_library(LPCTSTR filename);
|
||||
|
||||
#endif /* WIN32 */
|
||||
#else /* WIN32 */
|
||||
#define Curl_win32_init(x) CURLE_OK
|
||||
#endif /* !WIN32 */
|
||||
|
||||
#endif /* HEADER_CURL_SYSTEM_WIN32_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue