Wine fixes
Dimitrie O. Paun
dpaun at rogers.com
Thu Apr 15 23:16:36 CDT 2004
IMO should just nuke some of these useless includes.
How can we test that they are really needed?
--
Dimi.
-------------- next part --------------
Index: src/af/gr/win/gr_Win32USPGraphics.cpp
===================================================================
RCS file: /cvsroot/abi/src/af/gr/win/gr_Win32USPGraphics.cpp,v
retrieving revision 1.25
diff -u -r1.25 gr_Win32USPGraphics.cpp
--- src/af/gr/win/gr_Win32USPGraphics.cpp 15 Apr 2004 10:17:39 -0000 1.25
+++ src/af/gr/win/gr_Win32USPGraphics.cpp 16 Apr 2004 04:04:50 -0000
@@ -18,7 +18,9 @@
*/
#include <exception>
+#ifndef __WINE__
#include <stdexcept>
+#endif
#include <fribidi.h>
#include "gr_Win32USPGraphics.h"
#include "ut_debugmsg.h"
Index: src/af/util/win/ut_Win32Misc.cpp
===================================================================
RCS file: /cvsroot/abi/src/af/util/win/ut_Win32Misc.cpp,v
retrieving revision 1.7
diff -u -r1.7 ut_Win32Misc.cpp
--- src/af/util/win/ut_Win32Misc.cpp 5 Mar 2004 18:11:04 -0000 1.7
+++ src/af/util/win/ut_Win32Misc.cpp 16 Apr 2004 04:04:50 -0000
@@ -20,7 +20,9 @@
#include "ut_misc.h"
#include <windows.h>
#include <winsock.h>
+#ifndef __WINE__
#include <snmp.h>
+#endif
#include <nb30.h>
#include "ut_debugmsg.h"
@@ -45,7 +47,9 @@
tv->tv_usec = (long) ((_100ns.LowPart % (DWORD) (10000 * 1000)) / 10);
}
+#ifndef __WINE__
#define NO_MAC_ADDRESS
+#endif
#ifdef NO_MAC_ADDRESS
typedef struct _ASTAT
{
More information about the wine-patches
mailing list