mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
stdlib/gmp-impl.h: Silence -Wundef warning for USE_STACK_ALLOC
The upstream version of GMP has long removed this conditional altogether in this commit: changeset: 5254:88618a4694ac user: Kevin Ryde <user42@zip.com.au> date: Sun Jun 17 01:37:27 2001 +0200 So just turn the #if into an #ifdef to silence the warning. ChangeLog: 2014-05-14 Will Newton <will.newton@linaro.org> * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef rather than #if.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2014-05-14 Will Newton <will.newton@linaro.org>
|
||||||
|
|
||||||
|
* stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
|
||||||
|
rather than #if.
|
||||||
|
|
||||||
2014-05-14 Joseph Myers <joseph@codesourcery.com>
|
2014-05-14 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
[BZ #16564]
|
[BZ #16564]
|
||||||
|
@@ -47,7 +47,7 @@ along with the GNU MP Library; see the file COPYING.LIB. If not, see
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ! defined (HAVE_ALLOCA) || USE_STACK_ALLOC
|
#if ! defined (HAVE_ALLOCA) || defined (USE_STACK_ALLOC)
|
||||||
#include "stack-alloc.h"
|
#include "stack-alloc.h"
|
||||||
#else
|
#else
|
||||||
#define TMP_DECL(m)
|
#define TMP_DECL(m)
|
||||||
|
Reference in New Issue
Block a user