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

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