Blame SOURCES/glibc-rh1505492-undef-24.patch

25845f
commit 4f02e2b8f94799b4f9e57e922c06c5eeec4272e6
25845f
Author: Will Newton <will.newton@linaro.org>
25845f
Date:   Fri Apr 25 15:48:48 2014 +0100
25845f
25845f
    stdlib/gmp-impl.h: Silence -Wundef warning for USE_STACK_ALLOC
25845f
    
25845f
    The upstream version of GMP has long removed this conditional
25845f
    altogether in this commit:
25845f
    
25845f
    changeset:   5254:88618a4694ac
25845f
    user:        Kevin Ryde <user42@zip.com.au>
25845f
    date:        Sun Jun 17 01:37:27 2001 +0200
25845f
    
25845f
    So just turn the #if into an #ifdef to silence the warning.
25845f
    
25845f
    ChangeLog:
25845f
    
25845f
    2014-05-14  Will Newton  <will.newton@linaro.org>
25845f
    
25845f
            * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
25845f
            rather than #if.
25845f
25845f
diff --git a/stdlib/gmp-impl.h b/stdlib/gmp-impl.h
25845f
index 7e94624859dd7017..add63603f64ff39e 100644
25845f
--- a/stdlib/gmp-impl.h
25845f
+++ b/stdlib/gmp-impl.h
25845f
@@ -47,7 +47,7 @@ along with the GNU MP Library; see the file COPYING.LIB.  If not, see
25845f
 #endif
25845f
 #endif
25845f
 
25845f
-#if ! defined (HAVE_ALLOCA) || USE_STACK_ALLOC
25845f
+#if ! defined (HAVE_ALLOCA) || defined (USE_STACK_ALLOC)
25845f
 #include "stack-alloc.h"
25845f
 #else
25845f
 #define TMP_DECL(m)