summaryrefslogtreecommitdiffstats
path: root/sal/systools/win32/uwinapi/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/systools/win32/uwinapi/legacy.c')
-rw-r--r--sal/systools/win32/uwinapi/legacy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/systools/win32/uwinapi/legacy.c b/sal/systools/win32/uwinapi/legacy.c
index ec0b80a306b5..777df2b7385e 100644
--- a/sal/systools/win32/uwinapi/legacy.c
+++ b/sal/systools/win32/uwinapi/legacy.c
@@ -14,7 +14,7 @@
#pragma warning(disable:4273) // inconsistent dll linkage
#endif
-EXTERN_C DWORD WINAPI GetShortPathNameW(LPCWSTR lpszLongPath,LPWSTR lpszShortPath,DWORD cchBuffer)
+extern "C" DWORD WINAPI GetShortPathNameW(LPCWSTR lpszLongPath,LPWSTR lpszShortPath,DWORD cchBuffer)
{
typedef DWORD (WINAPI * GetShortPathNameW_t) (LPCWSTR,LPWSTR,DWORD);