Fix including system glx.h after our glx.h

This commit is contained in:
Eric Anholt committed 2013-12-04 16:19:20 -08:00
1 parent 106298f2f9
commit 689abf4d4d
1 file changed
+2 -2
+2 -2
View File
@@ -35,10 +35,10 @@
#ifndef __EPOXY_GLX_H
#define __EPOXY_GLX_H
#if defined(__glx_h_) || defined(__glxext_h_)
#if defined(GLX_H) || defined(__glxext_h_)
#error epoxy/glx.h must be included before (or in place of) GL/glx.h
#else
#define __glext_h_
#define GLX_H
#define __glxext_h_
#endif