aboutsummaryrefslogtreecommitdiffstats
path: root/include/pugl/detail/mac.h
diff options
context:
space:
mode:
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