aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2013-07-21 14:30:14 +1000
committerNeil <nyamatongwe@gmail.com>2013-07-21 14:30:14 +1000
commit7ab4b5ab14232d2a00246a8e6c77c73c5c8b78b7 (patch)
treed9fa23b4d42123a37e709630255b39336c295802 /win32/PlatWin.h
parent68e4223dfcf19afec969e06727ff2fb22cf48420 (diff)
downloadscintilla-mirror-7ab4b5ab14232d2a00246a8e6c77c73c5c8b78b7.tar.gz
Standardising header guards and namespaces.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
index b417ac138..93e1d7253 100644
--- a/win32/PlatWin.h
+++ b/win32/PlatWin.h
@@ -5,6 +5,13 @@
// Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
+#ifndef PLATWIN_H
+#define PLATWIN_H
+
+#ifdef SCI_NAMESPACE
+namespace Scintilla {
+#endif
+
extern bool IsNT();
extern void Platform_Initialise(void *hInstance);
extern void Platform_Finalise();
@@ -14,3 +21,9 @@ extern bool LoadD2D();
extern ID2D1Factory *pD2DFactory;
extern IDWriteFactory *pIDWriteFactory;
#endif
+
+#ifdef SCI_NAMESPACE
+}
+#endif
+
+#endif