summaryrefslogtreecommitdiff
path: root/lib/idn_win32.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-06-16 19:20:50 +0200
committerYang Tse <yangsita@gmail.com>2012-06-16 19:20:50 +0200
commitd56e8bcc8aeed07d73a3047c5a5be8bb9df53e0b (patch)
tree367df2a1d0f1149e7a4bafd58e0629d7909b6d4d /lib/idn_win32.c
parent220776de6b06c3350fac5fe78d8a2f68e894fe90 (diff)
downloadcurl-d56e8bcc8aeed07d73a3047c5a5be8bb9df53e0b.tar.gz
Win32: downplay MS bazillion type synonyms game
Avoid usage of some MS type synonyms to allow compilation with compiler headers that don't define these, using simpler synonyms.
Diffstat (limited to 'lib/idn_win32.c')
-rw-r--r--lib/idn_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/idn_win32.c b/lib/idn_win32.c
index 6351f791d..bb483a6ae 100644
--- a/lib/idn_win32.c
+++ b/lib/idn_win32.c
@@ -31,8 +31,8 @@
#include "curl_multibyte.h"
#ifdef WANT_IDN_PROTOTYPES
-WINBASEAPI int WINAPI IdnToAscii(DWORD, LPCWSTR, int, LPWSTR, int);
-WINBASEAPI int WINAPI IdnToUnicode(DWORD, LPCWSTR, int, LPWSTR, int);
+WINBASEAPI int WINAPI IdnToAscii(DWORD, const WCHAR *, int, WCHAR *, int);
+WINBASEAPI int WINAPI IdnToUnicode(DWORD, const WCHAR *, int, WCHAR *, int);
#endif
#define IDN_MAX_LENGTH 255