aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/detail/mac.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-10-21 12:23:24 +0200
committerDavid Robillard <d@drobilla.net>2020-10-21 15:43:29 +0200
commitfeb6c4f7952eafbc8c2203ef0c657ea3580ee441 (patch)
treed67ed34eb9955720fd63b961f9b07ce00f5321a9 /include/pugl/detail/mac.h
parent063ddc8db2831e1f79d7569c8fc80dd3d54f5cda (diff)
downloadpugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.gz
pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.bz2
pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.zip
Add missing include guards
Diffstat (limited to 'include/pugl/detail/mac.h')
-rw-r--r--include/pugl/detail/mac.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pugl/detail/mac.h b/include/pugl/detail/mac.h
index 7b64cfe..55f24ca 100644
--- a/include/pugl/detail/mac.h
+++ b/include/pugl/detail/mac.h
@@ -20,6 +20,9 @@
@brief Shared definitions for MacOS implementation.
*/
+#ifndef PUGL_DETAIL_MAC_H
+#define PUGL_DETAIL_MAC_H
+
#include "pugl/pugl.h"
#import <Cocoa/Cocoa.h>
@@ -53,3 +56,5 @@ struct PuglInternalsImpl {
uint32_t mods;
bool mouseTracked;
};
+
+#endif // PUGL_DETAIL_MAC_H