mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-04 23:01:19 +08:00
* demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
From-SVN: r75783
This commit is contained in:
parent
0bb03c1105
commit
e4a32afbe1
@ -1,5 +1,7 @@
|
||||
2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
|
||||
|
||||
* demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
|
||||
|
||||
* demangle.h (enum demangle_component_type): Define.
|
||||
(struct demangle_operator_info): Declare.
|
||||
(struct demangle_builtin_type_info): Declare.
|
||||
|
@ -23,6 +23,11 @@
|
||||
|
||||
#include "ansidecl.h"
|
||||
|
||||
#ifdef ANSI_PROTOTYPES
|
||||
/* Get a definition for size_t. */
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
Loading…
x
Reference in New Issue
Block a user