From: Emil Velikov Date: Thu, 23 Jan 2014 17:43:16 +0000 (+0000) Subject: glsl: s/_NDEBUG/NDEBUG/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c35e3259493690850d292f819457a9a2bbe0abd;p=mesa.git glsl: s/_NDEBUG/NDEBUG/ The former symbol is never defined within mesa. Based on the code it seems that the original intent was to use NDEBUG. Signed-off-by: Emil Velikov Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 19e8383b234..e266328b204 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -471,7 +471,7 @@ public: void reinit_interface_type(const struct glsl_type *type) { if (this->max_ifc_array_access != NULL) { -#ifndef _NDEBUG +#ifndef NDEBUG /* Redeclaring gl_PerVertex is only allowed if none of the built-ins * it defines have been accessed yet; so it's safe to throw away the * old max_ifc_array_access pointer, since all of its values are