From 8e77da1cd7d63af5e7ffcf7ea220cdaf1bdc8162 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 29 Jun 2004 19:08:20 +0000 Subject: First phase of TLS work. At this point SPARC assembly dispatch is broken, but it will be fixed "shortly." This is pretty much the same as the patch I sent to the dri-devel list on 22-Jun-2004. --- src/mesa/glapi/glapitemp.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mesa/glapi/glapitemp.h') diff --git a/src/mesa/glapi/glapitemp.h b/src/mesa/glapi/glapitemp.h index 21523f277a..62bb9303c9 100644 --- a/src/mesa/glapi/glapitemp.h +++ b/src/mesa/glapi/glapitemp.h @@ -26,6 +26,7 @@ */ +#if defined( NAME ) #ifndef KEYWORD1 #define KEYWORD1 #endif @@ -34,10 +35,6 @@ #define KEYWORD2 #endif -#ifndef NAME -#error NAME must be defined -#endif - #ifndef DISPATCH #error DISPATCH must be defined #endif @@ -4778,6 +4775,7 @@ KEYWORD1 void KEYWORD2 NAME(BlendEquationSeparateATI)(GLenum modeRGB, GLenum mod } +#endif /* defined( NAME ) */ /* * This is how a dispatch table can be initialized with all the functions -- cgit v1.2.3