summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2008-12-17 18:01:16 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-18 14:17:06 -0700
commit867705b8c5bd78af12df177ff8eca8a5a295fa61 (patch)
tree08c12a5600462679fa99d6c8e4ce2f9827d42192 /include
parent9585f8daef6681bf1ad62ff4ad9a4102cf5d1abd (diff)
dri: fix for Cygwin compilation, bug 19144
Diffstat (limited to 'include')
-rw-r--r--include/GL/internal/dri_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index e4cc16b866..8f25987154 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -40,8 +40,8 @@
#ifndef DRI_INTERFACE_H
#define DRI_INTERFACE_H
-/* Make this something other than __APPLE__ for other arcs with no drm.h */
-#ifndef __APPLE__
+/* For archs with no drm.h */
+#if !defined(__APPLE__) && !defined(__CYGWIN__)
#include <drm.h>
#else
typedef unsigned int drm_context_t;