From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:19 +0000 (+0000) Subject: st/wgl: consistently use ifndef guards over pragma once X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b04916285e6ea27a5dbcbfc5939d3947b1b21c63;p=mesa.git st/wgl: consistently use ifndef guards over pragma once Signed-off-by: Emil Velikov Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- 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 */