view patches/openoffice-svx-mingw.patch @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents f0d5df22ab51
children
line wrap: on
line source

--- svx/source/dialog/winpluginlib.cpp.~1.6.~	2008-04-11 02:19:15.000000000 +0200
+++ svx/source/dialog/winpluginlib.cpp	2008-11-04 13:43:32.000000000 +0100
@@ -39,8 +39,8 @@
 #if defined _MSC_VER
 #pragma warning(pop)
 #endif
-#include <Winreg.h>
-#include <Shlwapi.h>
+#include <winreg.h>
+#include <shlwapi.h>
 #include <stdio.h>
 
 
--- svx/source/engine3d/scene3d.cxx.pristine	2009-02-16 10:47:03.000000000 +0100
+++ svx/source/engine3d/scene3d.cxx	2009-02-16 10:45:14.000000000 +0100
@@ -260,7 +260,7 @@ void E3dScene::SetDefaultAttributes(E3dD
 #endif
 
 	// Fuer WIN95/NT die FP-Exceptions abschalten
-#if defined(WNT) || defined(WIN)
+#if (defined(WNT) || defined(WIN)) && !defined (__MINGW32__)
 #define SC_FPEXCEPTIONS_ON()	_control87( _MCW_EM, 0 )
 #define SC_FPEXCEPTIONS_OFF()	_control87( _MCW_EM, _MCW_EM )
 	SC_FPEXCEPTIONS_OFF();