summaryrefslogtreecommitdiff
path: root/lib/curl_setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r--lib/curl_setup.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index 3f55a5c0f..7edeca212 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -270,7 +270,9 @@
# endif
# endif
# include <tchar.h>
- typedef wchar_t *(*curl_wcsdup_callback)(const wchar_t *str);
+# ifdef UNICODE
+ typedef wchar_t *(*curl_wcsdup_callback)(const wchar_t *str);
+# endif
#endif
/*