st/wgl: consistently use ifndef guards over pragma once
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 20 Mar 2017 16:04:19 +0000 (16:04 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Mar 2017 16:55:22 +0000 (16:55 +0000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Vedran Miletić <vedran@miletic.net>
Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gallium/state_trackers/wgl/stw_ext_context.h

index 9cb12b498bdae990f1058396695de93efe35e387..d0337490436d25b015e45184b72be0e04b892db7 100644 (file)
@@ -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 */