summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-06-12 08:49:21 -0700
committerEric Anholt <eric@anholt.net>2007-06-12 08:50:14 -0700
commitc2b130354aecffbeb2a2d23c7371461feaf5766a (patch)
treea12fe1ec0894e6dc3d3866c005c4fba07aff46bc /src
parent0e1deb607f94e4aa3ec4b9df8ff7a07a1c95e31d (diff)
Replace failure-prone configure test for fresh libdrm with a simple ifndef.
Diffstat (limited to 'src')
-rw-r--r--src/i830_dri.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c
index a17770bf..4746be0c 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -83,10 +83,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "i915_drm.h"
-/* This block and the corresponding configure test can be removed when
- * libdrm >= 2.3.1 is required.
- */
-#ifndef HAVE_I915_FLIP
+/* This block can be removed when libdrm >= 2.3.1 is required. */
+#ifndef DRM_IOCTL_I915_FLIP
#define DRM_VBLANK_FLIP 0x8000000