aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-03-14 01:02:05 +0000
committernyamatongwe <unknown>2010-03-14 01:02:05 +0000
commit0630dbd115f649f8ad1fde1c97b4c6a971287478 (patch)
treefbb9386f900d8d01f9b4a4a75e688e1d0599ef7b /include
parent1b2967ee84232e3053eb6d7299f11982b91d6d81 (diff)
downloadscintilla-mirror-0630dbd115f649f8ad1fde1c97b4c6a971287478.tar.gz
Using preprocessor that should be set in environment rather than from
Platform.h to avoid use of PLatform.h.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/ScintillaWidget.h2
2 files changed, 2 insertions, 2 deletions
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" {