diff options
author | nyamatongwe <unknown> | 2010-11-20 09:18:09 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-11-20 09:18:09 +1100 |
commit | 69620929228be5eb987db17d010df83fa065cf55 (patch) | |
tree | c05dd53aa73783a7c874f2c927063540dba4c178 /src | |
parent | 3c493786a0dec71c0854eedc959127cd3aec0bda (diff) | |
download | scintilla-mirror-69620929228be5eb987db17d010df83fa065cf55.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; |