mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-25 15:31:38 +01:00
dri_interface: drop __NOT_HAVE_DRM_H magic
v2: use HAVE_LIBDRM macro. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
816e4c1b5e
commit
0efd773f71
1 changed files with 1 additions and 8 deletions
|
|
@ -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 <drm.h>
|
||||
#else
|
||||
typedef unsigned int drm_context_t;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue