aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-11-20 09:18:09 +1100
committernyamatongwe <unknown>2010-11-20 09:18:09 +1100
commit69620929228be5eb987db17d010df83fa065cf55 (patch)
treec05dd53aa73783a7c874f2c927063540dba4c178
parent3c493786a0dec71c0854eedc959127cd3aec0bda (diff)
downloadscintilla-mirror-69620929228be5eb987db17d010df83fa065cf55.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;