diff options
Diffstat (limited to 'libs/libcurl/src/strdup.h')
-rw-r--r-- | libs/libcurl/src/strdup.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/libcurl/src/strdup.h b/libs/libcurl/src/strdup.h index 8bf1c9a8d3..7c7862db45 100644 --- a/libs/libcurl/src/strdup.h +++ b/libs/libcurl/src/strdup.h @@ -28,10 +28,11 @@ #ifndef HAVE_STRDUP
char *Curl_strdup(const char *str);
#endif
-#ifdef WIN32
+#ifdef _WIN32
wchar_t* Curl_wcsdup(const wchar_t* src);
#endif
void *Curl_memdup(const void *src, size_t buffer_length);
void *Curl_saferealloc(void *ptr, size_t size);
+void *Curl_strndup(const char *src, size_t length);
#endif /* HEADER_CURL_STRDUP_H */
|