From c2a34e4c96621156dea26615efeedaafaf542ca6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 20 Nov 2010 09:18:09 +1100 Subject: Bug #3111957. Use __unix__ rather than unix for compatibility with OpenBSD. --- src/Document.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3