aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2013-04-03 20:00:59 +1100
committernyamatongwe <unknown>2013-04-03 20:00:59 +1100
commit056586fef66b6ca97eb3f017675dbed62ba7010a (patch)
treea209df7d5b75250dc05e7a1e8a67f7f200f9cace
parenta438019f9f9d944886f4974866abe68c8c3944d8 (diff)
downloadscintilla-mirror-056586fef66b6ca97eb3f017675dbed62ba7010a.tar.gz
Renaming PLAT_NCURSES to PLAT_CURSES as may work on other implementations.
-rw-r--r--doc/ScintillaHistory.html3
-rw-r--r--include/Platform.h8
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 48f2f70c3..2d07933d5 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -438,6 +438,9 @@
<li>
Matlab/Octave lexer recognises block comments and ... comments.
</li>
+ <li>
+ The PLAT_NCURSES platform now called PLAT_CURSES as may work on other implementations.
+ </li>
</ul>
<h3>
<a href="http://prdownloads.sourceforge.net/scintilla/scite330.zip?download">Release 3.3.0</a>
diff --git a/include/Platform.h b/include/Platform.h
index 70a9cccb3..7b8d86d7d 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -22,7 +22,7 @@
#define PLAT_WX 0
#define PLAT_QT 0
#define PLAT_FOX 0
-#define PLAT_NCURSES 0
+#define PLAT_CURSES 0
#if defined(FOX)
#undef PLAT_FOX
@@ -32,9 +32,9 @@
#undef PLAT_WX
#define PLAT_WX 1
-#elif defined(NCURSES)
-#undef PLAT_NCURSES
-#define PLAT_NCURSES 1
+#elif defined(CURSES)
+#undef PLAT_CURSES
+#define PLAT_CURSES 1
#elif defined(SCINTILLA_QT)
#undef PLAT_QT