include: fix mingw64 build

Austin English austinenglish at gmail.com
Thu Jun 28 19:55:21 CDT 2012


Fixes http://bugs.winehq.org/show_bug.cgi?id=30980

-- 
-Austin
-------------- next part --------------
diff --git a/include/msvcrt/crtdefs.h b/include/msvcrt/crtdefs.h
index 06ce9c3..0f46f24 100644
--- a/include/msvcrt/crtdefs.h
+++ b/include/msvcrt/crtdefs.h
@@ -192,11 +192,13 @@ struct threadmbcinfostruct;
 typedef struct threadlocaleinfostruct *pthreadlocinfo;
 typedef struct threadmbcinfostruct *pthreadmbcinfo;
 
+#if !defined(__MINGW32__)
 typedef struct localeinfo_struct
 {
     pthreadlocinfo locinfo;
     pthreadmbcinfo mbcinfo;
 } _locale_tstruct, *_locale_t;
+#endif
 
 #ifndef _TAGLC_ID_DEFINED
 typedef struct tagLC_ID {


More information about the wine-patches mailing list