Skip to content

Commit

Permalink
Fix including system glx.h after our glx.h
Browse files Browse the repository at this point in the history
  • Loading branch information
anholt committed Dec 5, 2013
1 parent 106298f commit 689abf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/epoxy/glx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 689abf4

Please sign in to comment.