dri: fix for Cygwin compilation, bug 19144
This commit is contained in:
@@ -40,8 +40,8 @@
|
|||||||
#ifndef DRI_INTERFACE_H
|
#ifndef DRI_INTERFACE_H
|
||||||
#define DRI_INTERFACE_H
|
#define DRI_INTERFACE_H
|
||||||
|
|
||||||
/* Make this something other than __APPLE__ for other arcs with no drm.h */
|
/* For archs with no drm.h */
|
||||||
#ifndef __APPLE__
|
#if !defined(__APPLE__) && !defined(__CYGWIN__)
|
||||||
#include <drm.h>
|
#include <drm.h>
|
||||||
#else
|
#else
|
||||||
typedef unsigned int drm_context_t;
|
typedef unsigned int drm_context_t;
|
||||||
|
Reference in New Issue
Block a user