From fa7aa87bc0efb03c52f57a7951ba7b1c2ff62625 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 16 Dec 2013 09:14:31 -0800 Subject: Drop the inconsistent use of #pragma once. Apparently it's not totally portable, and the #ifdefs work fine (and equivalently to the pragma, on some compilers). --- include/epoxy/egl.h | 2 -- include/epoxy/glx.h | 2 -- include/epoxy/wgl.h | 2 -- 3 files changed, 6 deletions(-) (limited to 'include') diff --git a/include/epoxy/egl.h b/include/epoxy/egl.h index ac3150b..adfe2c7 100644 --- a/include/epoxy/egl.h +++ b/include/epoxy/egl.h @@ -48,8 +48,6 @@ extern "C" { #define __eglext_h_ #endif -#pragma once - #include "epoxy/egl_generated.h" bool epoxy_has_egl_extension(EGLDisplay *dpy, const char *extension); diff --git a/include/epoxy/glx.h b/include/epoxy/glx.h index 8ecea81..09ecf25 100644 --- a/include/epoxy/glx.h +++ b/include/epoxy/glx.h @@ -51,8 +51,6 @@ extern "C" { #define __glxext_h_ #endif -#pragma once - #include "epoxy/glx_generated.h" bool epoxy_has_glx_extension(Display *dpy, int screen, const char *extension); diff --git a/include/epoxy/wgl.h b/include/epoxy/wgl.h index 1031d7c..fe6a67e 100644 --- a/include/epoxy/wgl.h +++ b/include/epoxy/wgl.h @@ -46,8 +46,6 @@ extern "C" { #define __wglxext_h_ #endif -#pragma once - #include "epoxy/wgl_generated.h" bool epoxy_has_wgl_extension(HDC hdc, const char *extension); -- cgit v1.2.1