From: Jon Turney Date: Thu, 18 Dec 2008 01:01:16 +0000 (-0700) Subject: dri: fix for Cygwin compilation, bug 19144 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=867705b8c5bd78af12df177ff8eca8a5a295fa61;p=mesa.git dri: fix for Cygwin compilation, bug 19144 --- 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 #else typedef unsigned int drm_context_t;