aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-04-24 02:30:39 +0000
committernyamatongwe <unknown>2009-04-24 02:30:39 +0000
commit8a33757a4e0cc4ad9e533bef70823cbdb1373304 (patch)
treed1f5c056989740d604dd308d2b13296127cc2a3a /src/PerLine.h
parent1746ffb8f8378671f828fb70a5b30f44db83c79c (diff)
downloadscintilla-mirror-8a33757a4e0cc4ad9e533bef70823cbdb1373304.tar.gz
Added namespace defintion to PerLine.h and using namespace in
CellBuffer.cxx to make build on OS X.
Diffstat (limited to 'src/PerLine.h')
-rw-r--r--src/PerLine.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/PerLine.h b/src/PerLine.h
index 8d707bff6..8f3368b82 100644
--- a/src/PerLine.h
+++ b/src/PerLine.h
@@ -5,6 +5,13 @@
// Copyright 1998-2009 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
+#ifndef PERLINE_H
+#define PERLINE_H
+
+#ifdef SCI_NAMESPACE
+namespace Scintilla {
+#endif
+
/**
* This holds the marker identifier and the marker type to display.
* MarkerHandleNumbers are members of lists.
@@ -102,3 +109,8 @@ public:
int Lines(int line) const;
};
+#ifdef SCI_NAMESPACE
+}
+#endif
+
+#endif