Skip to content

Commit

Permalink
fixes xbmc#12021, wrong checks on HAS_X11 instead of on HAVE_X11. tha…
Browse files Browse the repository at this point in the history
…nks overflowed
  • Loading branch information
davilla committed Sep 29, 2011
1 parent 156e9ed commit 26655f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions xbmc/windowing/WindowingFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
#elif defined(TARGET_LINUX) && defined(HAS_GLX)
#include "X11/WinSystemX11GL.h"

#elif defined(TARGET_LINUX) && defined(HAS_X11) && defined(HAS_GLES)
#elif defined(TARGET_LINUX) && defined(HAVE_X11) && defined(HAS_GLES)
#include "X11/WinSystemX11GLES.h"

#elif defined(TARGET_LINUX) && !defined(HAS_X11) && defined(HAS_GLES)
#elif defined(TARGET_LINUX) && !defined(HAVE_X11) && defined(HAS_GLES)
#include "egl/WinSystemGLES.h"

#elif defined(TARGET_DARWIN_OSX)
Expand Down
2 changes: 1 addition & 1 deletion xbmc/windowing/X11/WinSystemX11GLES.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
#include "system.h"

#if defined(HAS_X11) && defined(HAS_GLES)
#if defined(HAVE_X11) && defined(HAS_GLES)

#include "WinSystemX11GLES.h"
#include "utils/log.h"
Expand Down

0 comments on commit 26655f2

Please sign in to comment.