[ros-diffs] [cfinck] 28411: Include windef.h, which then includes winnt.h, which uses our wchar_t check and reports the wchar_t definition back to the host. Then the host finally knows that it should not define wchar_t again.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Sat Aug 18 23:10:15 CEST 2007


Author: cfinck
Date: Sun Aug 19 01:10:14 2007
New Revision: 28411

URL: http://svn.reactos.org/svn/reactos?rev=28411&view=rev
Log:
Include windef.h, which then includes winnt.h, which uses our wchar_t check and reports the wchar_t definition back to the host.
Then the host finally knows that it should not define wchar_t again.

Modified:
    trunk/reactos/tools/unicode/cptable.c

Modified: trunk/reactos/tools/unicode/cptable.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/unicode/cptable.c?rev=28411&r1=28410&r2=28411&view=diff
==============================================================================
--- trunk/reactos/tools/unicode/cptable.c (original)
+++ trunk/reactos/tools/unicode/cptable.c Sun Aug 19 01:10:14 2007
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include <windef.h>
 #include <stdlib.h>
 
 #include "wine/unicode.h"




More information about the Ros-diffs mailing list