Files
pkgsrc-ng/graphics/MesaLib7/patches/patch-include_GL_gl.h
2016-01-21 23:41:46 +01:00

17 lines
460 B
C

$NetBSD: patch-include_GL_gl.h,v 1.1 2015/04/05 17:01:37 tnn Exp $
Check for symbol existence with #ifdef, not #if.
Needed since some other files only #define the symbol without a value.
--- include/GL/gl.h.orig 2011-11-23 01:09:52.000000000 +0000
+++ include/GL/gl.h
@@ -2094,7 +2094,7 @@ typedef void (APIENTRYP PFNGLMULTITEXCOO
-#if GL_ARB_shader_objects
+#ifdef GL_ARB_shader_objects
#ifndef GL_MESA_shader_debug
#define GL_MESA_shader_debug 1