summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/crt/wcstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/sdk/inc/crt/wcstr.h')
-rw-r--r--public/sdk/inc/crt/wcstr.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/public/sdk/inc/crt/wcstr.h b/public/sdk/inc/crt/wcstr.h
new file mode 100644
index 000000000..41543e747
--- /dev/null
+++ b/public/sdk/inc/crt/wcstr.h
@@ -0,0 +1,32 @@
+/***
+* wcstr.h - declarations for wide character string manipulation functions
+*
+* Copyright (c) 1985-1992, Microsoft Corporation. All rights reserved.
+*
+*Purpose:
+* This file contains the function declarations for the string
+* manipulation functions.
+* [OBSOLETE][UNICODE/ISO]
+*
+* WARNING: OBSOLETE FILE: use wchar.h/stdlib.h instead!!!
+* This file provided only for short-term compatibility. It will
+* disappear in the near future after a brief transitional period.
+*
+****/
+
+#ifndef _INC_WCSTR
+
+#include <wchar.h>
+#define wcswcs wcsstr
+
+#define _wcscmpi _wcsicmp
+#if !__STDC__
+#define wcscmpi _wcsicmp
+#endif
+
+/* from stdlib.h */
+int _CRTAPI1 wctomb(char *, wchar_t);
+size_t _CRTAPI1 wcstombs(char*, const wchar_t *, size_t);
+
+#define _INC_WCSTR
+#endif /* _INC_WCSTR */