dri: fix for Cygwin compilation, bug 19144

This commit is contained in:
Jon Turney
2008-12-17 18:01:16 -07:00
committed by Brian Paul
parent 9585f8daef
commit 867705b8c5

View File

@@ -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;