X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e9bafca0f56de34638d4c3fef8cf74fe9351193..dc8a1aa53d9c71820d683aefe7ea04d7e480f63b:/contrib/src/stc/scintilla/include/Scintilla.h diff --git a/contrib/src/stc/scintilla/include/Scintilla.h b/contrib/src/stc/scintilla/include/Scintilla.h index b4ed329f72..4fb9ec338b 100644 --- a/contrib/src/stc/scintilla/include/Scintilla.h +++ b/contrib/src/stc/scintilla/include/Scintilla.h @@ -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 #endif #ifdef MAXULONG_PTR