X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fobstack.h;h=413228c11c3090bced368d26e44d8f9010b5e794;hb=abdb711e0855f0597a96db0486b598144b788212;hp=0ff33098443053aefb98518ca367d1f217f069ec;hpb=314dee8ea9be79a450d9f0b451619b67ebe0e017;p=deliverable%2Fbinutils-gdb.git diff --git a/include/obstack.h b/include/obstack.h index 0ff3309844..413228c11c 100644 --- a/include/obstack.h +++ b/include/obstack.h @@ -1,5 +1,5 @@ /* obstack.h - object stack macros - Copyright (C) 1988-2015 Free Software Foundation, Inc. + Copyright (C) 1988-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -142,7 +142,11 @@ P, A) #ifndef __attribute_pure__ -# define __attribute_pure__ _GL_ATTRIBUTE_PURE +# if defined __GNUC_MINOR__ && __GNUC__ * 1000 + __GNUC_MINOR__ >= 2096 +# define __attribute_pure__ __attribute__ ((__pure__)) +# else +# define __attribute_pure__ +# endif #endif #ifdef __cplusplus