projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
816e4c1
)
dri_interface: drop __NOT_HAVE_DRM_H magic
author
Emil Velikov
<emil.l.velikov@gmail.com>
Tue, 7 Jul 2015 14:13:46 +0000
(15:13 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 22 Jul 2015 15:33:11 +0000
(16:33 +0100)
v2: use HAVE_LIBDRM macro.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
include/GL/internal/dri_interface.h
patch
|
blob
|
history
diff --git
a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index c827bb640f3d91b768424fd7ffa6504d1acdc5b6..72660718bd868b8fd588e5d2c7ebfd75df620533 100644
(file)
--- 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 <drm.h>
#else
typedef unsigned int drm_context_t;