]> git.saurik.com Git - wxWidgets.git/commitdiff
Silence some warnings
authorRobin Dunn <robin@alldunn.com>
Tue, 14 Mar 2006 01:40:05 +0000 (01:40 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 14 Mar 2006 01:40:05 +0000 (01:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/scintilla/include/Scintilla.h
src/stc/scintilla/include/Scintilla.h

index b4ed329f726618133d7604223b6660399d207c18..4fb9ec338baac9e0079a5352ee3213a227ee7686 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef SCINTILLA_H
 #define SCINTILLA_H
 
-#if LCCWIN
+#if defined(LCCWIN) && LCCWIN
 typedef BOOL bool;
 #endif
 
@@ -25,7 +25,7 @@ int Scintilla_LinkLexers();
 // Here should be placed typedefs for uptr_t, an unsigned integer type large enough to
 // hold a pointer and sptr_t, a signed integer large enough to hold a pointer.
 // May need to be changed for 64 bit platforms.
-#if _MSC_VER >= 1300
+#if defined(_MSC_VER) && _MSC_VER >= 1300
 #include <BaseTsd.h>
 #endif
 #ifdef MAXULONG_PTR
index b4ed329f726618133d7604223b6660399d207c18..4fb9ec338baac9e0079a5352ee3213a227ee7686 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef SCINTILLA_H
 #define SCINTILLA_H
 
-#if LCCWIN
+#if defined(LCCWIN) && LCCWIN
 typedef BOOL bool;
 #endif
 
@@ -25,7 +25,7 @@ int Scintilla_LinkLexers();
 // Here should be placed typedefs for uptr_t, an unsigned integer type large enough to
 // hold a pointer and sptr_t, a signed integer large enough to hold a pointer.
 // May need to be changed for 64 bit platforms.
-#if _MSC_VER >= 1300
+#if defined(_MSC_VER) && _MSC_VER >= 1300
 #include <BaseTsd.h>
 #endif
 #ifdef MAXULONG_PTR