Mesa (gallium-0.2): dri: fix for Cygwin compilation, bug 19144
Brian Paul
brianp at kemper.freedesktop.org
Thu Dec 18 23:02:06 UTC 2008
Module: Mesa
Branch: gallium-0.2
Commit: 867705b8c5bd78af12df177ff8eca8a5a295fa61
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=867705b8c5bd78af12df177ff8eca8a5a295fa61
Author: Jon Turney <jon.turney at dronecode.org.uk>
Date: Wed Dec 17 18:01:16 2008 -0700
dri: fix for Cygwin compilation, bug 19144
---
include/GL/internal/dri_interface.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h
index e4cc16b..8f25987 100644
--- a/include/GL/internal/dri_interface.h
+++ b/include/GL/internal/dri_interface.h
@@ -40,8 +40,8 @@
#ifndef DRI_INTERFACE_H
#define DRI_INTERFACE_H
-/* Make this something other than __APPLE__ for other arcs with no drm.h */
-#ifndef __APPLE__
+/* For archs with no drm.h */
+#if !defined(__APPLE__) && !defined(__CYGWIN__)
#include <drm.h>
#else
typedef unsigned int drm_context_t;
More information about the mesa-commit
mailing list