diff options
author | nyamatongwe <devnull@localhost> | 2010-11-20 09:18:09 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-11-20 09:18:09 +1100 |
commit | c2a34e4c96621156dea26615efeedaafaf542ca6 (patch) | |
tree | ac320f7600c19f0909e893985e457c9a340716f5 /src | |
parent | e301ee4cfb962802f6d3eb9cdcb757ec6e06a70e (diff) | |
download | scintilla-mirror-c2a34e4c96621156dea26615efeedaafaf542ca6.tar.gz |
Bug #3111957. Use __unix__ rather than unix for compatibility with OpenBSD.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.cxx | 2 |
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; |