From: Luca Barbieri Date: Sat, 4 Sep 2010 19:21:34 +0000 (+0200) Subject: nvfx: fix inlinining in nv04_2d.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90d3291595f0ea197d850aeac42333e35654ab58;p=mesa.git nvfx: fix inlinining in nv04_2d.c --- diff --git a/src/gallium/drivers/nvfx/nv04_2d.c b/src/gallium/drivers/nvfx/nv04_2d.c index c05312219b6..ef07e542c21 100644 --- a/src/gallium/drivers/nvfx/nv04_2d.c +++ b/src/gallium/drivers/nvfx/nv04_2d.c @@ -107,7 +107,7 @@ static inline unsigned log2i(unsigned i) //#define NV04_REGION_DEBUG // Yes, we really want to inline everything, since all the functions are used only once -#if defined(__GNUC__) && defined(DEBUG) +#if defined(__GNUC__) && !defined(DEBUG) #define inline __attribute__((always_inline)) inline #endif