summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-16 09:14:31 -0800
committerEric Anholt <eric@anholt.net>2013-12-16 09:14:31 -0800
commitfa7aa87bc0efb03c52f57a7951ba7b1c2ff62625 (patch)
treee23951524051de756a424b82cf5dceea3a147a1c /include
parentc92fcc852fe123034633eba9cda91c780632b2f8 (diff)
downloadlibepoxy-fa7aa87bc0efb03c52f57a7951ba7b1c2ff62625.tar.gz
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).
Diffstat (limited to 'include')
-rw-r--r--include/epoxy/egl.h2
-rw-r--r--include/epoxy/glx.h2
-rw-r--r--include/epoxy/wgl.h2
3 files changed, 0 insertions, 6 deletions
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);