diff options
author | David Robillard <d@drobilla.net> | 2020-10-21 12:23:24 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-21 15:43:29 +0200 |
commit | feb6c4f7952eafbc8c2203ef0c657ea3580ee441 (patch) | |
tree | d67ed34eb9955720fd63b961f9b07ce00f5321a9 /include/pugl/detail | |
parent | 063ddc8db2831e1f79d7569c8fc80dd3d54f5cda (diff) | |
download | pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.gz pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.tar.bz2 pugl-feb6c4f7952eafbc8c2203ef0c657ea3580ee441.zip |
Add missing include guards
Diffstat (limited to 'include/pugl/detail')
-rw-r--r-- | include/pugl/detail/mac.h | 5 | ||||
-rw-r--r-- | include/pugl/detail/win.h | 5 | ||||
-rw-r--r-- | include/pugl/detail/x11.h | 5 |
3 files changed, 15 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 diff --git a/include/pugl/detail/win.h b/include/pugl/detail/win.h index b0d92e0..0ead1fa 100644 --- a/include/pugl/detail/win.h +++ b/include/pugl/detail/win.h @@ -19,6 +19,9 @@ @brief Shared definitions for Windows implementation. */ +#ifndef PUGL_DETAIL_WIN_H +#define PUGL_DETAIL_WIN_H + #include "pugl/detail/implementation.h" #include <windows.h> @@ -145,3 +148,5 @@ puglWinStubEnter(PuglView* view, const PuglEventExpose* expose); PuglStatus puglWinStubLeave(PuglView* view, const PuglEventExpose* expose); + +#endif // PUGL_DETAIL_WIN_H diff --git a/include/pugl/detail/x11.h b/include/pugl/detail/x11.h index b5ca75c..9788191 100644 --- a/include/pugl/detail/x11.h +++ b/include/pugl/detail/x11.h @@ -19,6 +19,9 @@ @brief Shared definitions for X11 implementation. */ +#ifndef PUGL_DETAIL_X11_H +#define PUGL_DETAIL_X11_H + #include "pugl/detail/types.h" #include "pugl/pugl.h" @@ -74,3 +77,5 @@ struct PuglInternalsImpl { }; PuglStatus puglX11StubConfigure(PuglView* view); + +#endif // PUGL_DETAIL_X11_H |