From 7f781e780ee2b261c5cb688a8e6c5dc1a53bdb6f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 17 Dec 2008 19:13:30 +0000 Subject: Cygwin/X: Cygwin doesn't have RTLD_LOCAL RTLD_LOCAL is not defined on Cygwin Signed-off-by: Jon TURNEY --- glx/glxdriswrast.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'glx') diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c index 5b3ecb077..de89d381e 100644 --- a/glx/glxdriswrast.c +++ b/glx/glxdriswrast.c @@ -55,6 +55,13 @@ #include "dispatch.h" #include "extension_string.h" +/* RTLD_LOCAL is not defined on Cygwin */ +#ifdef __CYGWIN__ +#ifndef RTLD_LOCAL +#define RTLD_LOCAL 0 +#endif +#endif + typedef struct __GLXDRIscreen __GLXDRIscreen; typedef struct __GLXDRIcontext __GLXDRIcontext; typedef struct __GLXDRIdrawable __GLXDRIdrawable; -- cgit v1.2.3