diff options
author | Jon Turney <[email protected]> | 2008-12-17 18:01:16 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-17 18:01:16 -0700 |
commit | 8e7599892f5dd2f85a74eccf9ff7a80dd277122b (patch) | |
tree | 35b0b9ec0d5cefd2226c4dcc8e09d69e9ffab872 | |
parent | 20555835b68c58b52d7954a0b237a9a331013e68 (diff) |
dri: fix for Cygwin compilation, bug 19144
-rw-r--r-- | include/GL/internal/dri_interface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index e4cc16b8660..8f25987154a 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; |