summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/strdup.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmcurl/lib/strdup.h')
-rw-r--r--Utilities/cmcurl/lib/strdup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/cmcurl/lib/strdup.h b/Utilities/cmcurl/lib/strdup.h
index c3430b5..9f12b25 100644
--- a/Utilities/cmcurl/lib/strdup.h
+++ b/Utilities/cmcurl/lib/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 */