view patches/openoffice-tools-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 cb3acca16336
children
line wrap: on
line source

--- tools/source/fsys/wntmsc.hxx.pristine	2008-10-29 23:44:36.000000000 +0100
+++ tools/source/fsys/wntmsc.hxx	2008-10-28 19:13:59.000000000 +0100
@@ -36,8 +36,8 @@
 #ifndef ICC
 #include <io.h>
 #endif
-#include <sys\types.h>
-#include <sys\stat.h>
+#include <sys/types.h>
+#include <sys/stat.h>
 #include <direct.h>
 
 #include <tools/svwin.h>
--- tools/inc/tools/solar.h.pristine	2008-10-29 23:44:36.000000000 +0100
+++ tools/inc/tools/solar.h	2008-10-31 12:54:34.000000000 +0100
@@ -57,6 +57,12 @@
 /*   Previous typedefs from before sal convergence are in comments */
 /*   to the right of the new types.                                */
 
+#ifdef __MINGW32__
+#undef BOOL
+#undef INT32
+#undef UINT32
+#endif /* __MINGW32__ */
+
 typedef sal_Bool		BOOL;	/* typedef unsigned char   BOOL; */
 typedef sal_uInt8		BYTE;	/* typedef unsigned char   BYTE; */
 typedef sal_uInt16		USHORT;	/* typedef unsigned short  USHORT; */