summaryrefslogtreecommitdiff
path: root/include/postwin.h
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:44:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-15 07:59:13 +0000
commit48b1c8898d2f5a54435d23c412a0c65b553ef46d (patch)
treeef87e03b112f675718ee542d86d42ed7c8beb4fb /include/postwin.h
parent613213240a84327a0a72bb5ee98cc88d50c1fd0e (diff)
clang-cl loplugin: vcl
Change-Id: I40f8a6fef9d66b28a1d72551a6873b041b38b09e Reviewed-on: https://gerrit.libreoffice.org/29841 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/postwin.h')
-rw-r--r--include/postwin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/postwin.h b/include/postwin.h
index 95cd6f836ca3..b2df82374da8 100644
--- a/include/postwin.h
+++ b/include/postwin.h
@@ -65,7 +65,8 @@
#define STRETCH_DELETESCANS 3
#endif
-#ifdef __cplusplus
+#if !defined INCLUDED_POSTWIN_H && defined __cplusplus
+#define INCLUDED_POSTWIN_H
extern "C"
{
BOOL WINAPI WIN_Rectangle( HDC hDC, int X1, int Y1, int X2, int Y2 );