MSVC adjustment

This commit is contained in:
Yang Tse 2008-08-31 12:12:35 +00:00
parent 4f0d286d2c
commit 79ffbf7fe1
5 changed files with 32 additions and 7 deletions

View file

@ -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.