summaryrefslogtreecommitdiff
path: root/include/epoxy/egl.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-01-21 21:32:20 -0800
committerEric Anholt <eric@anholt.net>2014-01-22 01:00:56 -0800
commitf10bff9bc04a82562e8ea5842effe411a8b3f884 (patch)
tree19ed236be97550f1263899692e3a0f92b353a9bf /include/epoxy/egl.h
parentd653a87e4648260713c718a8778b5c5e4088a6de (diff)
downloadlibepoxy-f10bff9bc04a82562e8ea5842effe411a8b3f884.tar.gz
Avoid polluting the compiler's namespace with our own stuff.
We can't completely avoid it, since gl's headers use these defines for their header guards, and we really do need to stop the system GL headers from doing anything. Fixes #14
Diffstat (limited to 'include/epoxy/egl.h')
-rw-r--r--include/epoxy/egl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/epoxy/egl.h b/include/epoxy/egl.h
index 7b30a04..5771ccd 100644
--- a/include/epoxy/egl.h
+++ b/include/epoxy/egl.h
@@ -27,8 +27,8 @@
* function pointers
*/
-#ifndef __EPOXY_EGL_H
-#define __EPOXY_EGL_H
+#ifndef EPOXY_EGL_H
+#define EPOXY_EGL_H
#ifdef __cplusplus
extern "C" {
@@ -52,4 +52,4 @@ int epoxy_egl_version(EGLDisplay *dpy);
} /* extern "C" */
#endif
-#endif /* __EPOXY_EGL_H */
+#endif /* EPOXY_EGL_H */