patch by Alex_Ionescu - fixes crash in usb driver on bootup in vmware
Modified: trunk/reactos/w32api/include/ddk/winddk.h

Modified: trunk/reactos/w32api/include/ddk/winddk.h
--- trunk/reactos/w32api/include/ddk/winddk.h	2005-09-12 01:31:24 UTC (rev 17812)
+++ trunk/reactos/w32api/include/ddk/winddk.h	2005-09-12 01:32:11 UTC (rev 17813)
@@ -4945,14 +4945,15 @@
 
 #endif /* DBG */
 
-#ifdef _NTSYSTEM_
+/* HACK HACK HACK - GCC (or perhaps LD) is messing this up */
+#if defined(_NTSYSTEM_) || defined(__GNUC__)
 #define NLS_MB_CODE_PAGE_TAG NlsMbCodePageTag
 #define NLS_MB_OEM_CODE_PAGE_TAG NlsMbOemCodePageTag
 #else
 #define NLS_MB_CODE_PAGE_TAG (*NlsMbCodePageTag)
 #define NLS_MB_OEM_CODE_PAGE_TAG (*NlsMbOemCodePageTag)
 #endif /* _NT_SYSTEM */
- 
+
 extern BOOLEAN NTSYSAPI NLS_MB_CODE_PAGE_TAG;
 extern BOOLEAN NTSYSAPI NLS_MB_OEM_CODE_PAGE_TAG;