aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2013-04-03 20:00:59 +1100
committernyamatongwe <devnull@localhost>2013-04-03 20:00:59 +1100
commit98ca2e61c0717085ea47a986e8fdd505f297b1cf (patch)
tree80e3671583e633e41ecf4fa73cf00ad5a7345a6f
parentcfa2952926a6d2d4ca86c2e372b66840a3974e08 (diff)
downloadscintilla-mirror-98ca2e61c0717085ea47a986e8fdd505f297b1cf.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