forked from HowardHinnant/date
Added shortened curl include path to support nuget package rmt_curl
This commit is contained in:
committed by
Howard Hinnant
parent
4cb893c780
commit
bba9aeafab
5
tz.cpp
5
tz.cpp
@@ -142,8 +142,13 @@
|
|||||||
#if HAS_REMOTE_API
|
#if HAS_REMOTE_API
|
||||||
// Note curl includes windows.h so we must include curl AFTER definitions of things
|
// Note curl includes windows.h so we must include curl AFTER definitions of things
|
||||||
// that effect windows.h such as NOMINMAX.
|
// that effect windows.h such as NOMINMAX.
|
||||||
|
#if defined(_MSC_BUILD) && defined(SHORTENED_CURL_INCLUDE)
|
||||||
|
// For rmt_curl nuget package
|
||||||
|
# include <curl.h>
|
||||||
|
#else
|
||||||
# include <curl/curl.h>
|
# include <curl/curl.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static CONSTDATA char folder_delimiter = '\\';
|
static CONSTDATA char folder_delimiter = '\\';
|
||||||
|
Reference in New Issue
Block a user