aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-02-05 04:39:42 +0000
committernyamatongwe <devnull@localhost>2001-02-05 04:39:42 +0000
commitbc28310ef52287aef419d8edf728a1c6f47fe27e (patch)
treeabedd8d80bacfd6f5c9e754109c8687ab98d10ec /include/Platform.h
parent6fbd45ca439f4e3e744a183a9bbaaa012fea98c9 (diff)
downloadscintilla-mirror-bc28310ef52287aef419d8edf728a1c6f47fe27e.tar.gz
Patch from John to make GTK+ version build on Win32.
Modified by me to avoid pointless warnings and print error message if try to build with Borland C++.
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h
index c951b5533..3e650f4e6 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -35,6 +35,9 @@
// Include the main header for each platform
#if PLAT_GTK
+#ifdef _MSC_VER
+#pragma warning(disable: 4505 4514 4710 4800)
+#endif
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#endif