From 19ca3d1d8385f33d5347aade4a3554acc2946e2a Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Mon, 12 Sep 2005 01:32:11 +0000 Subject: [PATCH] patch by Alex_Ionescu - fixes crash in usb driver on bootup in vmware svn path=/trunk/; revision=17813 --- reactos/w32api/include/ddk/winddk.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/w32api/include/ddk/winddk.h b/reactos/w32api/include/ddk/winddk.h index 45b5697dd27..483cb95e87f 100644 --- a/reactos/w32api/include/ddk/winddk.h +++ b/reactos/w32api/include/ddk/winddk.h @@ -4945,14 +4945,15 @@ RtlAssert( #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;