Move the wchar_t check above the "#include <ctype.h>" line (this is needed for Mac OS X host compatibility)

svn path=/trunk/; revision=28409
This commit is contained in:
Colin Finck 2007-08-18 19:49:53 +00:00
parent 3d0bdbac16
commit 44840c6db3

View file

@ -50,6 +50,23 @@ extern "C" {
#include <basetsd.h>
#include <guiddef.h>
#ifndef _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#ifndef _WCHAR_T_DECLARED /* for FreeBSD 5 and later */
#define _WCHAR_T_DECLARED
#ifndef _WCHAR_T /* for Mac OS X */
#define _WCHAR_T
#ifndef _WCHAR_T_
#define _WCHAR_T_
#undef __need_wchar_t
#ifndef __cplusplus
typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#endif
#include <ctype.h>
#include <winerror.h>
#include <stddef.h>
@ -118,23 +135,6 @@ typedef void *PVOID,*LPVOID;
#endif
typedef void* __ptr64 PVOID64;
#ifndef _WCHAR_T_DEFINED
#define _WCHAR_T_DEFINED
#ifndef _WCHAR_T_DECLARED /* for FreeBSD 5 and later */
#define _WCHAR_T_DECLARED
#ifndef _WCHAR_T /* for Mac OS X */
#define _WCHAR_T
#ifndef _WCHAR_T_
#define _WCHAR_T_
#undef __need_wchar_t
#ifndef __cplusplus
typedef unsigned short wchar_t;
#endif
#endif
#endif
#endif
#endif
#ifdef __cplusplus
# define EXTERN_C extern "C"
#else