aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/wgl/stw_ext_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_ext_context.h b/src/gallium/state_trackers/wgl/stw_ext_context.h
index 9cb12b498bd..d0337490436 100644
--- a/src/gallium/state_trackers/wgl/stw_ext_context.h
+++ b/src/gallium/state_trackers/wgl/stw_ext_context.h
@@ -22,7 +22,8 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
-#pragma once
+#ifndef STW_EXT_CONTEXT_H
+#define STW_EXT_CONTEXT_H
#include <windows.h>
#include <GL/gl.h>
@@ -34,3 +35,4 @@ typedef BOOL (WINAPI *wglDeleteContext_t)(HGLRC hglrc);
extern wglCreateContext_t wglCreateContext_func;
extern wglDeleteContext_t wglDeleteContext_func;
+#endif /* STW_EXT_CONTEXT_H */