mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-13 13:07:28 +08:00
demangle.h: #include "gansidecl.h".
* demangle.h: #include "gansidecl.h". (PROTO,PTR,const): Delete. From-SVN: r11791
This commit is contained in:
parent
239d3342c4
commit
6938ca9281
@ -21,27 +21,8 @@
|
||||
#define DEMANGLE_H
|
||||
|
||||
#ifdef IN_GCC
|
||||
|
||||
/* Add prototype support. */
|
||||
#ifndef PROTO
|
||||
#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__)
|
||||
#define PROTO(ARGS) ARGS
|
||||
#else
|
||||
#define PROTO(ARGS) ()
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "gansidecl.h"
|
||||
#define PARAMS(ARGS) PROTO(ARGS)
|
||||
|
||||
#ifdef __STDC__
|
||||
#define PTR void *
|
||||
#else
|
||||
#ifndef const
|
||||
#define const
|
||||
#endif
|
||||
#define PTR char *
|
||||
#endif
|
||||
|
||||
#else /* ! IN_GCC */
|
||||
#include <ansidecl.h>
|
||||
#endif /* IN_GCC */
|
||||
|
Loading…
Reference in New Issue
Block a user