? Sources/SDL/dh.s
? Sources/SDL/dt.s
Index: configure.ac
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/configure.ac,v
retrieving revision 1.16
diff -u -r1.16 configure.ac
--- configure.ac	19 Oct 2003 20:39:05 -0000	1.16
+++ configure.ac	7 Nov 2003 10:20:30 -0000
@@ -567,7 +567,7 @@
 AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debugging support]),, enable_debug="no")
 
 if test "$enable_debug" != "no"; then
-    CXXFLAGS="$CXXFLAGS -DDEBUG=1 -g -O0 -Wall -Werror"
+    CXXFLAGS="$CXXFLAGS -DDEBUG=1 -g -O0 -Wall"
     AC_MSG_RESULT([enabled])
 else
     AC_MSG_RESULT([disabled])
@@ -589,6 +589,19 @@
 fi
 echo ""
 
+dnl -------------------------
+dnl Check for Maintainer Mode
+dnl -------------------------
+AC_MSG_CHECKING(for maintainer mode)
+AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-maintainer], [Enable maintainer mode]),, enable_maintainer="no")
+
+if test "$enable_maintainer" != "no"; then
+    CXXFLAGS="$CXXFLAGS -Werror"
+    AC_MSG_RESULT([enabled])
+else
+    AC_MSG_RESULT([disabled])
+fi
+
 dnl ---------------------
 dnl Finish configuration:
 dnl ---------------------
Index: Sources/API/core.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/core.h,v
retrieving revision 1.65
diff -u -r1.65 core.h
--- Sources/API/core.h	28 Oct 2003 19:30:03 -0000	1.65
+++ Sources/API/core.h	7 Nov 2003 10:20:31 -0000
@@ -37,7 +37,7 @@
 #define CL_CURRENT_VERSION	CL_VERSION(0,7,6)
 #define CL_VERSION_STRING "0.7.6"
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/gl.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/gl.h,v
retrieving revision 1.14
diff -u -r1.14 gl.h
--- Sources/API/gl.h	14 Oct 2003 15:52:10 -0000	1.14
+++ Sources/API/gl.h	7 Nov 2003 10:20:31 -0000
@@ -31,8 +31,11 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 	#pragma warning (disable:4786)
+#endif
+
+#ifdef WIN32
 	#include <windows.h>
 #endif
 
Index: Sources/API/gui.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/gui.h,v
retrieving revision 1.48
diff -u -r1.48 gui.h
--- Sources/API/gui.h	2 Nov 2003 11:36:42 -0000	1.48
+++ Sources/API/gui.h	7 Nov 2003 10:20:31 -0000
@@ -31,7 +31,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/guistyleboring.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/guistyleboring.h,v
retrieving revision 1.3
diff -u -r1.3 guistyleboring.h
--- Sources/API/guistyleboring.h	14 Oct 2003 15:52:10 -0000	1.3
+++ Sources/API/guistyleboring.h	7 Nov 2003 10:20:31 -0000
@@ -31,7 +31,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/guistylesilver.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/guistylesilver.h,v
retrieving revision 1.4
diff -u -r1.4 guistylesilver.h
--- Sources/API/guistylesilver.h	2 Nov 2003 11:36:42 -0000	1.4
+++ Sources/API/guistylesilver.h	7 Nov 2003 10:20:31 -0000
@@ -31,7 +31,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/signals.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/signals.h,v
retrieving revision 1.12
diff -u -r1.12 signals.h
--- Sources/API/signals.h	14 Oct 2003 15:52:10 -0000	1.12
+++ Sources/API/signals.h	7 Nov 2003 10:20:31 -0000
@@ -34,7 +34,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/display.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/display.h,v
retrieving revision 1.34
diff -u -r1.34 display.h
--- Sources/API/Display/display.h	14 Oct 2003 15:52:10 -0000	1.34
+++ Sources/API/Display/display.h	7 Nov 2003 10:20:32 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/display_mode.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/display_mode.h,v
retrieving revision 1.11
diff -u -r1.11 display_mode.h
--- Sources/API/Display/display_mode.h	14 Oct 2003 15:52:10 -0000	1.11
+++ Sources/API/Display/display_mode.h	7 Nov 2003 10:20:32 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/display_window.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/display_window.h,v
retrieving revision 1.38
diff -u -r1.38 display_window.h
--- Sources/API/Display/display_window.h	14 Oct 2003 15:52:10 -0000	1.38
+++ Sources/API/Display/display_window.h	7 Nov 2003 10:20:33 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/font.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/font.h,v
retrieving revision 1.46
diff -u -r1.46 font.h
--- Sources/API/Display/font.h	14 Oct 2003 15:52:10 -0000	1.46
+++ Sources/API/Display/font.h	7 Nov 2003 10:20:34 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/glyph_buffer.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/glyph_buffer.h,v
retrieving revision 1.24
diff -u -r1.24 glyph_buffer.h
--- Sources/API/Display/glyph_buffer.h	14 Oct 2003 15:52:10 -0000	1.24
+++ Sources/API/Display/glyph_buffer.h	7 Nov 2003 10:20:35 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/graphic_context.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/graphic_context.h,v
retrieving revision 1.30
diff -u -r1.30 graphic_context.h
--- Sources/API/Display/graphic_context.h	14 Oct 2003 15:52:10 -0000	1.30
+++ Sources/API/Display/graphic_context.h	7 Nov 2003 10:20:35 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/input_buffer.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/input_buffer.h,v
retrieving revision 1.12
diff -u -r1.12 input_buffer.h
--- Sources/API/Display/input_buffer.h	14 Oct 2003 15:52:10 -0000	1.12
+++ Sources/API/Display/input_buffer.h	7 Nov 2003 10:20:36 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/input_device.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/input_device.h,v
retrieving revision 1.18
diff -u -r1.18 input_device.h
--- Sources/API/Display/input_device.h	29 Oct 2003 13:12:42 -0000	1.18
+++ Sources/API/Display/input_device.h	7 Nov 2003 10:20:36 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/joystick.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/joystick.h,v
retrieving revision 1.3
diff -u -r1.3 joystick.h
--- Sources/API/Display/joystick.h	14 Oct 2003 15:52:10 -0000	1.3
+++ Sources/API/Display/joystick.h	7 Nov 2003 10:20:36 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/keyboard.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/keyboard.h,v
retrieving revision 1.12
diff -u -r1.12 keyboard.h
--- Sources/API/Display/keyboard.h	14 Oct 2003 15:52:10 -0000	1.12
+++ Sources/API/Display/keyboard.h	7 Nov 2003 10:20:36 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/mouse.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/mouse.h,v
retrieving revision 1.4
diff -u -r1.4 mouse.h
--- Sources/API/Display/mouse.h	14 Oct 2003 15:52:10 -0000	1.4
+++ Sources/API/Display/mouse.h	7 Nov 2003 10:20:36 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/palette.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/palette.h,v
retrieving revision 1.9
diff -u -r1.9 palette.h
--- Sources/API/Display/palette.h	14 Oct 2003 15:52:10 -0000	1.9
+++ Sources/API/Display/palette.h	7 Nov 2003 10:20:36 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/sprite_description.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/sprite_description.h,v
retrieving revision 1.24
diff -u -r1.24 sprite_description.h
--- Sources/API/Display/sprite_description.h	14 Oct 2003 15:52:10 -0000	1.24
+++ Sources/API/Display/sprite_description.h	7 Nov 2003 10:20:37 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/sprite_packer.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/sprite_packer.h,v
retrieving revision 1.16
diff -u -r1.16 sprite_packer.h
--- Sources/API/Display/sprite_packer.h	14 Oct 2003 15:52:10 -0000	1.16
+++ Sources/API/Display/sprite_packer.h	7 Nov 2003 10:20:37 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/surface.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/surface.h,v
retrieving revision 1.44
diff -u -r1.44 surface.h
--- Sources/API/Display/surface.h	14 Oct 2003 15:52:10 -0000	1.44
+++ Sources/API/Display/surface.h	7 Nov 2003 10:20:37 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/Display/text_styler.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Display/text_styler.h,v
retrieving revision 1.14
diff -u -r1.14 text_styler.h
--- Sources/API/Display/text_styler.h	14 Oct 2003 15:52:10 -0000	1.14
+++ Sources/API/Display/text_styler.h	7 Nov 2003 10:20:38 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning( disable : 4786)
 #endif
 
Index: Sources/API/GL/opengl_window.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/GL/opengl_window.h,v
retrieving revision 1.12
diff -u -r1.12 opengl_window.h
--- Sources/API/GL/opengl_window.h	14 Oct 2003 15:52:10 -0000	1.12
+++ Sources/API/GL/opengl_window.h	7 Nov 2003 10:20:38 -0000
@@ -33,7 +33,7 @@
 #include "../Display/display_window.h"
 
 #ifdef WIN32
-#include <wingdi.h>
+#include <windows.h>
 #else
 #include <X11/Xlib.h>
 #endif
Index: Sources/API/Network/IRC/irc_connection.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Network/IRC/irc_connection.h,v
retrieving revision 1.11
diff -u -r1.11 irc_connection.h
--- Sources/API/Network/IRC/irc_connection.h	14 Oct 2003 15:52:11 -0000	1.11
+++ Sources/API/Network/IRC/irc_connection.h	7 Nov 2003 10:20:39 -0000
@@ -29,7 +29,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/API/Network/NetObjects/netobject_client.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Network/NetObjects/netobject_client.h,v
retrieving revision 1.9
diff -u -r1.9 netobject_client.h
--- Sources/API/Network/NetObjects/netobject_client.h	14 Oct 2003 15:52:11 -0000	1.9
+++ Sources/API/Network/NetObjects/netobject_client.h	7 Nov 2003 10:20:39 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/API/Network/NetObjects/netobject_controller.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Network/NetObjects/netobject_controller.h,v
retrieving revision 1.10
diff -u -r1.10 netobject_controller.h
--- Sources/API/Network/NetObjects/netobject_controller.h	14 Oct 2003 15:52:11 -0000	1.10
+++ Sources/API/Network/NetObjects/netobject_controller.h	7 Nov 2003 10:20:39 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/API/Network/NetObjects/netobject_server.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Network/NetObjects/netobject_server.h,v
retrieving revision 1.11
diff -u -r1.11 netobject_server.h
--- Sources/API/Network/NetObjects/netobject_server.h	14 Oct 2003 15:52:11 -0000	1.11
+++ Sources/API/Network/NetObjects/netobject_server.h	7 Nov 2003 10:20:40 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/API/Network/NetSession/netstream.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Network/NetSession/netstream.h,v
retrieving revision 1.8
diff -u -r1.8 netstream.h
--- Sources/API/Network/NetSession/netstream.h	14 Oct 2003 15:52:11 -0000	1.8
+++ Sources/API/Network/NetSession/netstream.h	7 Nov 2003 10:20:40 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/API/Signals/signal_v0.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Signals/signal_v0.h,v
retrieving revision 1.15
diff -u -r1.15 signal_v0.h
--- Sources/API/Signals/signal_v0.h	14 Oct 2003 15:52:11 -0000	1.15
+++ Sources/API/Signals/signal_v0.h	7 Nov 2003 10:20:40 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning ( disable : 4786 )
 #endif
 
Index: Sources/API/Signals/signal_v1.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Signals/signal_v1.h,v
retrieving revision 1.14
diff -u -r1.14 signal_v1.h
--- Sources/API/Signals/signal_v1.h	14 Oct 2003 15:52:11 -0000	1.14
+++ Sources/API/Signals/signal_v1.h	7 Nov 2003 10:20:40 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning ( disable : 4786 )
 #endif
 
Index: Sources/API/Signals/signal_v2.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Signals/signal_v2.h,v
retrieving revision 1.14
diff -u -r1.14 signal_v2.h
--- Sources/API/Signals/signal_v2.h	14 Oct 2003 15:52:11 -0000	1.14
+++ Sources/API/Signals/signal_v2.h	7 Nov 2003 10:20:41 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning ( disable : 4786 )
 #endif
 
Index: Sources/API/Signals/signal_v3.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Signals/signal_v3.h,v
retrieving revision 1.15
diff -u -r1.15 signal_v3.h
--- Sources/API/Signals/signal_v3.h	14 Oct 2003 15:52:11 -0000	1.15
+++ Sources/API/Signals/signal_v3.h	7 Nov 2003 10:20:41 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning ( disable : 4786 )
 #endif
 
Index: Sources/API/Signals/signal_v4.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Signals/signal_v4.h,v
retrieving revision 1.14
diff -u -r1.14 signal_v4.h
--- Sources/API/Signals/signal_v4.h	14 Oct 2003 15:52:11 -0000	1.14
+++ Sources/API/Signals/signal_v4.h	7 Nov 2003 10:20:41 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning ( disable : 4786 )
 #endif
 
Index: Sources/API/Signals/signal_v5.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/API/Signals/signal_v5.h,v
retrieving revision 1.14
diff -u -r1.14 signal_v5.h
--- Sources/API/Signals/signal_v5.h	14 Oct 2003 15:52:11 -0000	1.14
+++ Sources/API/Signals/signal_v5.h	7 Nov 2003 10:20:41 -0000
@@ -30,7 +30,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning ( disable : 4786 )
 #endif
 
Index: Sources/Core/Makefile.am
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Core/Makefile.am,v
retrieving revision 1.24
diff -u -r1.24 Makefile.am
--- Sources/Core/Makefile.am	8 Oct 2003 17:43:49 -0000	1.24
+++ Sources/Core/Makefile.am	7 Nov 2003 10:20:42 -0000
@@ -62,7 +62,6 @@
 System/Generic/log.cpp \
 System/Generic/call_stack.cpp \
 System/Generic/crash_reporter.cpp \
-System/Unix/crash_reporter_unix.cpp \
 XML/dom_attr.cpp \
 XML/dom_cdata_section.cpp \
 XML/dom_character_data.cpp \
@@ -100,7 +99,8 @@
 System/Win32/thread_win32.cpp \
 System/Win32/thread_win32.h \
 IOData/Win32/directory_scanner_win32.cpp \
-IOData/Win32/directory_scanner_win32.h
+IOData/Win32/directory_scanner_win32.h \
+System/Win32/crash_reporter_win32.cpp
 else
 libclanCore_la_SOURCES += \
 System/Unix/appconf.cpp \
@@ -110,6 +110,7 @@
 System/Unix/mutex_pthread.cpp \
 System/Unix/thread_pthread.cpp \
 System/Unix/cl_library.cpp \
+System/Unix/crash_reporter_unix.cpp \
 IOData/Unix/directory_scanner_unix.cpp
 endif
 
Index: Sources/Core/precomp.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Core/precomp.h,v
retrieving revision 1.13
diff -u -r1.13 precomp.h
--- Sources/Core/precomp.h	19 Sep 2003 10:16:57 -0000	1.13
+++ Sources/Core/precomp.h	7 Nov 2003 10:20:42 -0000
@@ -24,7 +24,9 @@
 #define header_precomp
 
 #ifdef WIN32
-#pragma warning (disable:4786)
+#ifdef _MSC_VER
+# pragma warning (disable:4786)
+#endif
 #include <windows.h>
 #include <process.h>
 #include <ddraw.h>
Index: Sources/Core/System/Win32/crash_reporter_win32.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Core/System/Win32/crash_reporter_win32.h,v
retrieving revision 1.7
diff -u -r1.7 crash_reporter_win32.h
--- Sources/Core/System/Win32/crash_reporter_win32.h	2 Nov 2003 13:20:28 -0000	1.7
+++ Sources/Core/System/Win32/crash_reporter_win32.h	7 Nov 2003 10:20:43 -0000
@@ -52,6 +52,7 @@
 #endif
 
 #ifdef HAS_PDB_SUPPORT
+
 // imagehlp.h must be compiled with packing to eight-byte-boundaries,
 // but does nothing to enforce that. I am grateful to Jeff Shanholtz
 // <JShanholtz@premia.com> for finding this problem.
Index: Sources/Core/System/Win32/mutex_win32.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Core/System/Win32/mutex_win32.h,v
retrieving revision 1.6
diff -u -r1.6 mutex_win32.h
--- Sources/Core/System/Win32/mutex_win32.h	14 Oct 2003 15:52:12 -0000	1.6
+++ Sources/Core/System/Win32/mutex_win32.h	7 Nov 2003 10:20:43 -0000
@@ -38,4 +38,4 @@
 	HANDLE event;
 };
 
-#endif
\ No newline at end of file
+#endif
Index: Sources/Display/Makefile.am
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Display/Makefile.am,v
retrieving revision 1.32
diff -u -r1.32 Makefile.am
--- Sources/Display/Makefile.am	31 Oct 2003 17:09:48 -0000	1.32
+++ Sources/Display/Makefile.am	7 Nov 2003 10:20:43 -0000
@@ -85,6 +85,8 @@
 Win32/display_window_win32.h \
 Win32/font_win32.cpp \
 Win32/font_win32.h \
+Win32/input_device_directinput.cpp \
+Win32/input_device_directinput.h \
 Win32/input_device_win32keyboard.cpp \
 Win32/input_device_win32keyboard.h \
 Win32/input_device_win32mouse.cpp \
Index: Sources/Display/display_mode.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Display/display_mode.cpp,v
retrieving revision 1.11
diff -u -r1.11 display_mode.cpp
--- Sources/Display/display_mode.cpp	20 Jul 2003 22:31:49 -0000	1.11
+++ Sources/Display/display_mode.cpp	7 Nov 2003 10:20:43 -0000
@@ -23,6 +23,8 @@
 #include <X11/Xlib.h>
 #include <X11/extensions/xf86vmode.h>
 #define V_DBLSCAN       0x020
+#else
+#include <windows.h>
 #endif
 
 #include "Display/display_precomp.h"
Index: Sources/Display/display_precomp.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Display/display_precomp.h,v
retrieving revision 1.6
diff -u -r1.6 display_precomp.h
--- Sources/Display/display_precomp.h	20 Jul 2003 22:31:49 -0000	1.6
+++ Sources/Display/display_precomp.h	7 Nov 2003 10:20:43 -0000
@@ -20,7 +20,7 @@
 */
 
 // Win32 precompiled header file support.
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #include <windows.h>
 #endif
Index: Sources/Display/Win32/input_device_win32keyboard.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Display/Win32/input_device_win32keyboard.cpp,v
retrieving revision 1.9
diff -u -r1.9 input_device_win32keyboard.cpp
--- Sources/Display/Win32/input_device_win32keyboard.cpp	29 Oct 2003 13:12:43 -0000	1.9
+++ Sources/Display/Win32/input_device_win32keyboard.cpp	7 Nov 2003 10:20:44 -0000
@@ -19,6 +19,7 @@
 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 */
 
+#include <windows.h>
 #include "Display/display_precomp.h"
 #include "input_device_win32keyboard.h"
 
Index: Sources/GL/gl_state.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GL/gl_state.h,v
retrieving revision 1.14
diff -u -r1.14 gl_state.h
--- Sources/GL/gl_state.h	14 Oct 2003 15:52:12 -0000	1.14
+++ Sources/GL/gl_state.h	7 Nov 2003 10:20:44 -0000
@@ -26,6 +26,7 @@
 #pragma once
 #endif
 
+#include <windows.h>
 #include <GL/gl.h>
 #include "API/Display/blend_func.h"
 #include "API/Display/gradient.h"
Index: Sources/GL/gl_state_checker.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GL/gl_state_checker.h,v
retrieving revision 1.17
diff -u -r1.17 gl_state_checker.h
--- Sources/GL/gl_state_checker.h	25 Oct 2003 01:12:03 -0000	1.17
+++ Sources/GL/gl_state_checker.h	7 Nov 2003 10:20:44 -0000
@@ -26,6 +26,7 @@
 #pragma once
 #endif
 
+#include <windows.h>
 #include <stack>
 #include "gl_state.h"
 #include <GL/gl.h>
Index: Sources/GL/pixel_buffer_opengl_frame.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GL/pixel_buffer_opengl_frame.h,v
retrieving revision 1.3
diff -u -r1.3 pixel_buffer_opengl_frame.h
--- Sources/GL/pixel_buffer_opengl_frame.h	14 Oct 2003 15:52:12 -0000	1.3
+++ Sources/GL/pixel_buffer_opengl_frame.h	7 Nov 2003 10:20:45 -0000
@@ -28,6 +28,9 @@
 
 #include "API/Display/graphic_context.h"
 #include "Display/pixel_buffer_generic.h"
+#ifdef WIN32
+#include <windows.h>
+#endif
 #include <GL/gl.h>
 
 //: Pixel data access to a frame buffer.
Index: Sources/GL/pixel_buffer_opengl_texture.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GL/pixel_buffer_opengl_texture.h,v
retrieving revision 1.4
diff -u -r1.4 pixel_buffer_opengl_texture.h
--- Sources/GL/pixel_buffer_opengl_texture.h	14 Oct 2003 15:52:12 -0000	1.4
+++ Sources/GL/pixel_buffer_opengl_texture.h	7 Nov 2003 10:20:45 -0000
@@ -28,6 +28,9 @@
 
 #include "API/Display/graphic_context.h"
 #include "Display/pixel_buffer_generic.h"
+#ifdef WIN32
+#include <windows.h>
+#endif
 #include <GL/gl.h>
 
 //: Pixel data access of a texture.
Index: Sources/GL/surface_target_opengl.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GL/surface_target_opengl.h,v
retrieving revision 1.4
diff -u -r1.4 surface_target_opengl.h
--- Sources/GL/surface_target_opengl.h	22 Oct 2003 23:43:44 -0000	1.4
+++ Sources/GL/surface_target_opengl.h	7 Nov 2003 10:20:45 -0000
@@ -26,6 +26,7 @@
 #pragma once
 #endif
 
+#include <windows.h>
 #include <GL/gl.h>
 
 #include "Display/surface_generic.h"
Index: Sources/GL/WGL/display_window_opengl.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GL/WGL/display_window_opengl.h,v
retrieving revision 1.15
diff -u -r1.15 display_window_opengl.h
--- Sources/GL/WGL/display_window_opengl.h	22 Oct 2003 23:43:44 -0000	1.15
+++ Sources/GL/WGL/display_window_opengl.h	7 Nov 2003 10:20:45 -0000
@@ -26,9 +26,14 @@
 #pragma once
 #endif
 
+#ifdef WIN32
+#include <windows.h>
+#endif
+
 #include "Display/Win32/display_window_win32.h"
 #include "API/Display/graphic_context.h"
 #include "API/Display/pixel_buffer.h"
+
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include <stack>
Index: Sources/GUI/component_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GUI/component_generic.cpp,v
retrieving revision 1.75
diff -u -r1.75 component_generic.cpp
--- Sources/GUI/component_generic.cpp	2 Nov 2003 13:33:57 -0000	1.75
+++ Sources/GUI/component_generic.cpp	7 Nov 2003 10:20:46 -0000
@@ -20,7 +20,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4355) // 'this' used in base member initializer list
 #endif
 
Index: Sources/GUI/precomp.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GUI/precomp.h,v
retrieving revision 1.18
diff -u -r1.18 precomp.h
--- Sources/GUI/precomp.h	14 Oct 2003 15:52:13 -0000	1.18
+++ Sources/GUI/precomp.h	7 Nov 2003 10:20:46 -0000
@@ -25,7 +25,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 
 #include "API/core.h"
Index: Sources/GUI/treeview.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/GUI/treeview.cpp,v
retrieving revision 1.20
diff -u -r1.20 treeview.cpp
--- Sources/GUI/treeview.cpp	20 Jul 2003 22:23:22 -0000	1.20
+++ Sources/GUI/treeview.cpp	7 Nov 2003 10:20:46 -0000
@@ -22,7 +22,7 @@
 
 #include "precomp.h"
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4355)
 #endif
 
Index: Sources/Network/setupnetwork_win32.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/setupnetwork_win32.cpp,v
retrieving revision 1.7
diff -u -r1.7 setupnetwork_win32.cpp
--- Sources/Network/setupnetwork_win32.cpp	20 Jul 2003 22:34:39 -0000	1.7
+++ Sources/Network/setupnetwork_win32.cpp	7 Nov 2003 10:20:47 -0000
@@ -19,7 +19,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Network/Browse/browse_client.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Browse/browse_client.cpp,v
retrieving revision 1.7
diff -u -r1.7 browse_client.cpp
--- Sources/Network/Browse/browse_client.cpp	9 Sep 2003 12:34:48 -0000	1.7
+++ Sources/Network/Browse/browse_client.cpp	7 Nov 2003 10:20:47 -0000
@@ -20,7 +20,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Network/Browse/browse_client_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Browse/browse_client_generic.cpp,v
retrieving revision 1.10
diff -u -r1.10 browse_client_generic.cpp
--- Sources/Network/Browse/browse_client_generic.cpp	19 Sep 2003 10:33:02 -0000	1.10
+++ Sources/Network/Browse/browse_client_generic.cpp	7 Nov 2003 10:20:47 -0000
@@ -28,11 +28,13 @@
 #include "API/Core/System/clanstring.h"
 
 #ifdef WIN32
-#pragma warning (disable:4786)
-#pragma warning (disable:4355)
-#include <winsock2.h> // needed for ntohl and ntohs
+#  ifdef _MSC_VER
+#    pragma warning (disable:4786)
+#    pragma warning (disable:4355)
+#  endif
+#  include <winsock2.h> // needed for ntohl and ntohs
 #else
-#include <netinet/in.h>
+#  include <netinet/in.h>
 #endif
 
 
Index: Sources/Network/Browse/browse_master.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Browse/browse_master.cpp,v
retrieving revision 1.6
diff -u -r1.6 browse_master.cpp
--- Sources/Network/Browse/browse_master.cpp	20 Jul 2003 22:34:39 -0000	1.6
+++ Sources/Network/Browse/browse_master.cpp	7 Nov 2003 10:20:47 -0000
@@ -20,7 +20,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Network/Browse/browse_master_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Browse/browse_master_generic.cpp,v
retrieving revision 1.7
diff -u -r1.7 browse_master_generic.cpp
--- Sources/Network/Browse/browse_master_generic.cpp	20 Jul 2003 22:34:39 -0000	1.7
+++ Sources/Network/Browse/browse_master_generic.cpp	7 Nov 2003 10:20:47 -0000
@@ -20,7 +20,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786) // stl debug string too long<tm>
 #pragma warning (disable:4355) // 'this' used in base member initializer list
 #endif
Index: Sources/Network/Browse/browse_server.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Browse/browse_server.cpp,v
retrieving revision 1.6
diff -u -r1.6 browse_server.cpp
--- Sources/Network/Browse/browse_server.cpp	9 Sep 2003 12:38:03 -0000	1.6
+++ Sources/Network/Browse/browse_server.cpp	7 Nov 2003 10:20:48 -0000
@@ -20,7 +20,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Network/Browse/browse_server_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Browse/browse_server_generic.cpp,v
retrieving revision 1.8
diff -u -r1.8 browse_server_generic.cpp
--- Sources/Network/Browse/browse_server_generic.cpp	19 Sep 2003 10:33:02 -0000	1.8
+++ Sources/Network/Browse/browse_server_generic.cpp	7 Nov 2003 10:20:48 -0000
@@ -20,7 +20,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Network/Browse/server_database.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Browse/server_database.cpp,v
retrieving revision 1.2
diff -u -r1.2 server_database.cpp
--- Sources/Network/Browse/server_database.cpp	20 Jul 2003 22:34:39 -0000	1.2
+++ Sources/Network/Browse/server_database.cpp	7 Nov 2003 10:20:48 -0000
@@ -19,7 +19,7 @@
 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/Network/NetObjects/netobject_controller_generic.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/NetObjects/netobject_controller_generic.h,v
retrieving revision 1.9
diff -u -r1.9 netobject_controller_generic.h
--- Sources/Network/NetObjects/netobject_controller_generic.h	14 Oct 2003 15:52:13 -0000	1.9
+++ Sources/Network/NetObjects/netobject_controller_generic.h	7 Nov 2003 10:20:48 -0000
@@ -26,7 +26,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/Network/NetSession/netsession_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/NetSession/netsession_generic.cpp,v
retrieving revision 1.23
diff -u -r1.23 netsession_generic.cpp
--- Sources/Network/NetSession/netsession_generic.cpp	12 Oct 2003 18:18:11 -0000	1.23
+++ Sources/Network/NetSession/netsession_generic.cpp	7 Nov 2003 10:20:49 -0000
@@ -18,7 +18,7 @@
 **  License along with this library; if not, write to the Free Software
 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 */
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4355)
 #pragma warning(disable : 4503)
 #endif
Index: Sources/Network/NetSession/netsession_generic.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/NetSession/netsession_generic.h,v
retrieving revision 1.16
diff -u -r1.16 netsession_generic.h
--- Sources/Network/NetSession/netsession_generic.h	14 Oct 2003 15:52:13 -0000	1.16
+++ Sources/Network/NetSession/netsession_generic.h	7 Nov 2003 10:20:49 -0000
@@ -26,7 +26,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/Network/NetSession/netstream_generic.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/NetSession/netstream_generic.h,v
retrieving revision 1.8
diff -u -r1.8 netstream_generic.h
--- Sources/Network/NetSession/netstream_generic.h	14 Oct 2003 15:52:13 -0000	1.8
+++ Sources/Network/NetSession/netstream_generic.h	7 Nov 2003 10:20:49 -0000
@@ -26,7 +26,7 @@
 #pragma once
 #endif
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/Network/Socket/event_trigger_socket.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Socket/event_trigger_socket.cpp,v
retrieving revision 1.7
diff -u -r1.7 event_trigger_socket.cpp
--- Sources/Network/Socket/event_trigger_socket.cpp	20 Jul 2003 22:34:40 -0000	1.7
+++ Sources/Network/Socket/event_trigger_socket.cpp	7 Nov 2003 10:20:49 -0000
@@ -20,7 +20,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Network/Socket/socket.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Socket/socket.cpp,v
retrieving revision 1.23
diff -u -r1.23 socket.cpp
--- Sources/Network/Socket/socket.cpp	15 Oct 2003 20:32:14 -0000	1.23
+++ Sources/Network/Socket/socket.cpp	7 Nov 2003 10:20:50 -0000
@@ -20,9 +20,11 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
-#else
+#endif
+
+#ifndef WIN32
 #include <unistd.h>
 #include <fcntl.h>
 #include <netinet/tcp.h>
Index: Sources/Network/Socket/socket_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Socket/socket_generic.cpp,v
retrieving revision 1.16
diff -u -r1.16 socket_generic.cpp
--- Sources/Network/Socket/socket_generic.cpp	15 Oct 2003 20:32:14 -0000	1.16
+++ Sources/Network/Socket/socket_generic.cpp	7 Nov 2003 10:20:51 -0000
@@ -23,7 +23,9 @@
 #ifdef _MSC_VER
 #pragma warning (disable:4786)
 #define snprintf _snprintf
-#else
+#endif
+
+#ifndef WIN32
 #include <errno.h>
 #endif
 
Index: Sources/Network/Socket/socket_select.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Network/Socket/socket_select.cpp,v
retrieving revision 1.8
diff -u -r1.8 socket_select.cpp
--- Sources/Network/Socket/socket_select.cpp	8 Oct 2003 17:43:49 -0000	1.8
+++ Sources/Network/Socket/socket_select.cpp	7 Nov 2003 10:20:51 -0000
@@ -20,7 +20,7 @@
 **
 */
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Sound/precomp.h
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Sound/precomp.h,v
retrieving revision 1.4
diff -u -r1.4 precomp.h
--- Sources/Sound/precomp.h	14 Oct 2003 15:52:13 -0000	1.4
+++ Sources/Sound/precomp.h	7 Nov 2003 10:20:52 -0000
@@ -29,7 +29,9 @@
 
 
 #ifdef WIN32
-#pragma warning (disable:4786)
+#ifdef _MSC_VER
+# pragma warning (disable:4786)
+#endif
 #include <windows.h>
 #include <process.h>
 #include <dsound.h>
Index: Sources/Sound/resourcetype_sample.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Sound/resourcetype_sample.cpp,v
retrieving revision 1.8
diff -u -r1.8 resourcetype_sample.cpp
--- Sources/Sound/resourcetype_sample.cpp	27 Oct 2003 23:12:05 -0000	1.8
+++ Sources/Sound/resourcetype_sample.cpp	7 Nov 2003 10:20:52 -0000
@@ -26,7 +26,7 @@
 
 #include "Sound/precomp.h"
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Sound/SoundFilters/echofilter_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Sound/SoundFilters/echofilter_generic.cpp,v
retrieving revision 1.5
diff -u -r1.5 echofilter_generic.cpp
--- Sources/Sound/SoundFilters/echofilter_generic.cpp	27 Oct 2003 23:12:05 -0000	1.5
+++ Sources/Sound/SoundFilters/echofilter_generic.cpp	7 Nov 2003 10:20:52 -0000
@@ -22,7 +22,7 @@
 
 #include "Sound/precomp.h"
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Sound/SoundFilters/fadefilter_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Sound/SoundFilters/fadefilter_generic.cpp,v
retrieving revision 1.6
diff -u -r1.6 fadefilter_generic.cpp
--- Sources/Sound/SoundFilters/fadefilter_generic.cpp	27 Oct 2003 23:12:05 -0000	1.6
+++ Sources/Sound/SoundFilters/fadefilter_generic.cpp	7 Nov 2003 10:20:52 -0000
@@ -22,7 +22,7 @@
 
 #include "Sound/precomp.h"
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Sound/SoundFilters/inverse_echofilter_generic.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Sound/SoundFilters/inverse_echofilter_generic.cpp,v
retrieving revision 1.7
diff -u -r1.7 inverse_echofilter_generic.cpp
--- Sources/Sound/SoundFilters/inverse_echofilter_generic.cpp	27 Oct 2003 23:12:05 -0000	1.7
+++ Sources/Sound/SoundFilters/inverse_echofilter_generic.cpp	7 Nov 2003 10:20:52 -0000
@@ -22,7 +22,7 @@
 
 #include "Sound/precomp.h"
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning (disable:4786)
 #endif
 
Index: Sources/Sound/SoundProviders/soundprovider_factory.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Sound/SoundProviders/soundprovider_factory.cpp,v
retrieving revision 1.9
diff -u -r1.9 soundprovider_factory.cpp
--- Sources/Sound/SoundProviders/soundprovider_factory.cpp	27 Oct 2003 23:12:05 -0000	1.9
+++ Sources/Sound/SoundProviders/soundprovider_factory.cpp	7 Nov 2003 10:20:52 -0000
@@ -21,7 +21,7 @@
 
 #include "Sound/precomp.h"
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
Index: Sources/Sound/SoundProviders/soundprovider_type.cpp
===================================================================
RCS file: /var/lib/cvs/Libs/ClanLib-0.7/Sources/Sound/SoundProviders/soundprovider_type.cpp,v
retrieving revision 1.3
diff -u -r1.3 soundprovider_type.cpp
--- Sources/Sound/SoundProviders/soundprovider_type.cpp	27 Oct 2003 23:12:05 -0000	1.3
+++ Sources/Sound/SoundProviders/soundprovider_type.cpp	7 Nov 2003 10:20:52 -0000
@@ -21,7 +21,7 @@
 
 #include "Sound/precomp.h"
 
-#ifdef WIN32
+#ifdef _MSC_VER
 #pragma warning(disable : 4786)
 #endif
 
