From 0630dbd115f649f8ad1fde1c97b4c6a971287478 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 14 Mar 2010 01:02:05 +0000 Subject: Using preprocessor that should be set in environment rather than from Platform.h to avoid use of PLatform.h. --- include/Scintilla.h | 2 +- include/ScintillaWidget.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 999cd86f5..2a79f6649 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -19,7 +19,7 @@ typedef BOOL bool; extern "C" { #endif -#if PLAT_WIN +#if defined(_WIN32) /* Return false on failure: */ bool Scintilla_RegisterClasses(void *hInstance); bool Scintilla_ReleaseResources(); diff --git a/include/ScintillaWidget.h b/include/ScintillaWidget.h index c60c4a21b..61650c9e2 100644 --- a/include/ScintillaWidget.h +++ b/include/ScintillaWidget.h @@ -9,7 +9,7 @@ #ifndef SCINTILLAWIDGET_H #define SCINTILLAWIDGET_H -#if PLAT_GTK +#if defined(GTK) #ifdef __cplusplus extern "C" { -- cgit v1.2.3