From b04916285e6ea27a5dbcbfc5939d3947b1b21c63 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:19 +0000 Subject: [PATCH] st/wgl: consistently use ifndef guards over pragma once MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Emil Velikov Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- src/gallium/state_trackers/wgl/stw_ext_context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 #include @@ -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 */ -- 2.30.2