From 39879633d9ec5f91bcc9f8a4f0532aad010ad268 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Sat, 14 Apr 2012 22:26:09 +0100 Subject: [PATCH] Fix MacOSX build. --- dispatch/glproc_gl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dispatch/glproc_gl.cpp b/dispatch/glproc_gl.cpp index 27b3ef7..5adbebb 100644 --- a/dispatch/glproc_gl.cpp +++ b/dispatch/glproc_gl.cpp @@ -117,11 +117,13 @@ void * __libgl_sym(const char *symbol) result = dlsym(__libGlHandle, symbol); - if (resullt && result == dlsym(RTLD_SELF, symbol)) { +#if 0 + if (result && result == dlsym(RTLD_SELF, symbol)) { os::log("apitrace: error: symbol lookup recursion\n"); os::abort(); return NULL; } +#endif return result; } -- 2.45.2