aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-11-20 09:18:09 +1100
committernyamatongwe <devnull@localhost>2010-11-20 09:18:09 +1100
commitc2a34e4c96621156dea26615efeedaafaf542ca6 (patch)
treeac320f7600c19f0909e893985e457c9a340716f5
parente301ee4cfb962802f6d3eb9cdcb757ec6e06a70e (diff)
downloadscintilla-mirror-c2a34e4c96621156dea26615efeedaafaf542ca6.tar.gz
Bug #3111957. Use __unix__ rather than unix for compatibility with OpenBSD.
-rw-r--r--src/Document.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx
index 3865c6c3d..91a0dda14 100644
--- a/src/Document.cxx
+++ b/src/Document.cxx
@@ -87,7 +87,7 @@ void LexInterface::Colourise(int start, int end) {
Document::Document() {
refCount = 0;
-#ifdef unix
+#ifdef __unix__
eolMode = SC_EOL_LF;
#else
eolMode = SC_EOL_CRLF;