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

Alexandre Julliard julliard at winehq.org
Mon Apr 23 13:41:37 CDT 2012


Module: wine
Branch: master
Commit: 3068ae8bce32f3d41d8b88057e59e07284274ca5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3068ae8bce32f3d41d8b88057e59e07284274ca5

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Fri Apr 20 16:14:45 2012 +0900

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

---

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

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 )




More information about the wine-cvs mailing list