aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-02-05 04:39:42 +0000
committernyamatongwe <unknown>2001-02-05 04:39:42 +0000
commit34f0652dfc2dc6a9d983f3c93718aa278db67695 (patch)
treeabedd8d80bacfd6f5c9e754109c8687ab98d10ec /include
parent42498c7486b343ea84ca1f677934f9c6095b8071 (diff)
downloadscintilla-mirror-34f0652dfc2dc6a9d983f3c93718aa278db67695.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')
-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