mirror of
https://github.com/curl/curl.git
synced 2026-07-23 22:57:17 +03:00
MSVC adjustment
This commit is contained in:
parent
4f0d286d2c
commit
79ffbf7fe1
5 changed files with 32 additions and 7 deletions
|
|
@ -205,6 +205,10 @@ static long init_flags;
|
|||
#define system_strdup strdup
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && defined(_DLL)
|
||||
# pragma warning(disable:4232) /* MSVC extension, dllimport identity */
|
||||
#endif
|
||||
|
||||
#ifndef __SYMBIAN32__
|
||||
/*
|
||||
* If a memory-using function (like curl_getenv) is used before
|
||||
|
|
@ -227,6 +231,10 @@ curl_strdup_callback Curl_cstrdup;
|
|||
curl_calloc_callback Curl_ccalloc;
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) && defined(_DLL)
|
||||
# pragma warning(default:4232) /* MSVC extension, dllimport identity */
|
||||
#endif
|
||||
|
||||
/**
|
||||
* curl_global_init() globally initializes cURL given a bitwise set of the
|
||||
* different features of what to initialize.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue