From: Emil Velikov Date: Tue, 7 Jul 2015 14:13:46 +0000 (+0100) Subject: dri_interface: drop __NOT_HAVE_DRM_H magic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0efd773f719dd2deddb4b6703edf022b294cd349;p=mesa.git dri_interface: drop __NOT_HAVE_DRM_H magic v2: use HAVE_LIBDRM macro. Signed-off-by: Emil Velikov Reviewed-by: Ian Romanick --- diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index c827bb640f3..72660718bd8 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -40,14 +40,7 @@ #ifndef DRI_INTERFACE_H #define DRI_INTERFACE_H -/* For archs with no drm.h */ -#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__GNU__) -#ifndef __NOT_HAVE_DRM_H -#define __NOT_HAVE_DRM_H -#endif -#endif - -#ifndef __NOT_HAVE_DRM_H +#ifdef HAVE_LIBDRM #include #else typedef unsigned int drm_context_t;