Added define guards for XRandR code.

This commit is contained in:
Marcel Metz
2011-10-03 12:48:59 -04:00
parent 426df42d00
commit f89feefa46
3 changed files with 11 additions and 5 deletions
+3
View File
@@ -250,7 +250,10 @@ GLFWGLOBAL struct {
//------------------------------------------------------------------------
typedef struct _GLFWmonitorX11
{
#if defined(_GLFW_HAS_XRANDR)
XRROutputInfo* output;
#endif /*_GLFW_HAS_XRANDR*/
int dummy;
} _GLFWmonitorX11;