[ros-diffs] [cfinck] 31348: Remove this deprecated wchar_t logic. We needed it, when host and target headers weren't fully separated, but this greatly improved now :-)

cfinck at svn.reactos.org cfinck at svn.reactos.org
Thu Dec 20 01:30:21 CET 2007


Author: cfinck
Date: Thu Dec 20 03:30:20 2007
New Revision: 31348

URL: http://svn.reactos.org/svn/reactos?rev=31348&view=rev
Log:
Remove this deprecated wchar_t logic.
We needed it, when host and target headers weren't fully separated, but this greatly improved now :-)

Modified:
    trunk/reactos/include/psdk/winnt.h

Modified: trunk/reactos/include/psdk/winnt.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=31348&r1=31347&r2=31348&view=diff
==============================================================================
--- trunk/reactos/include/psdk/winnt.h (original)
+++ trunk/reactos/include/psdk/winnt.h Thu Dec 20 03:30:20 2007
@@ -49,26 +49,8 @@
 #include <basetsd.h>
 #include <guiddef.h>
 
-/* wchar_t checks
- * First check if wchar_t has already been defined by any host/OS */
-#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_
-#ifndef _WCHAR_T_DEFINED       /* If you want to override the wchar_t setting, define this */
 #ifndef __cplusplus
-  typedef unsigned short wchar_t;
-#endif
-#endif
-#endif
-#endif
-#endif
-
-/* Set _WCHAR_T_DEFINED for the case that this is checked later */
-#ifndef _WCHAR_T_DEFINED
-#define _WCHAR_T_DEFINED
+    typedef unsigned short wchar_t;
 #endif
 
 #include <ctype.h>




More information about the Ros-diffs mailing list