summaryrefslogtreecommitdiff
path: root/include/epoxy/gl.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/gl.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/gl.h')
-rw-r--r--include/epoxy/gl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/epoxy/gl.h b/include/epoxy/gl.h
index 023810c..d389076 100644
--- a/include/epoxy/gl.h
+++ b/include/epoxy/gl.h
@@ -27,8 +27,8 @@
* global function pointers or a hidden vtable.
*/
-#ifndef __EPOXY_GL_H
-#define __EPOXY_GL_H
+#ifndef EPOXY_GL_H
+#define EPOXY_GL_H
#ifdef __cplusplus
extern "C" {
@@ -85,4 +85,4 @@ int epoxy_gl_version(void);
} /* extern "C" */
#endif
-#endif /* __EPOXY_GL_H */
+#endif /* EPOXY_GL_H */