include/wine/test.h: Fix tests compilation with a PSDK compiler.

Dmitry Timoshkov dmitry at baikal.ru
Fri Apr 20 02:14:45 CDT 2012


---
 include/wine/test.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/wine/test.h b/include/wine/test.h
index bee9c23..b3113a8 100644
--- a/include/wine/test.h
+++ b/include/wine/test.h
@@ -590,7 +590,9 @@ static LONG CALLBACK exc_filter( EXCEPTION_POINTERS *ptrs )
     return EXCEPTION_EXECUTE_HANDLER;
 }
 
+#ifdef __GNUC__
 void _fpreset(void) {} /* override the mingw fpu init code */
+#endif
 
 /* main function */
 int main( int argc, char **argv )
-- 
1.7.9.4




More information about the wine-patches mailing list