5af2a2d30d
In recent Technology Levels of AIX 7.2, new "#ifdef __cplusplus" have been added. Thus, the aix_malloc fix was applied in wrong locations. This patch increases the context to avoid this. fixincludes/ChangeLog: 2020-10-03 Clément Chigot <clement.chigot@atos.net> * inclhack.def (aix_malloc): Add more context to select. * fixincl.x: Regenerate. * tests/base/malloc.h: Update expected results.
26 lines
547 B
C
26 lines
547 B
C
/* DO NOT EDIT THIS FILE.
|
|
|
|
It has been auto-edited by fixincludes from:
|
|
|
|
"fixinc/tests/inc/malloc.h"
|
|
|
|
This had to be done to correct non-standard usages in the
|
|
original, manufacturer supplied header file. */
|
|
|
|
|
|
|
|
#if defined( AIX_MALLOC_CHECK )
|
|
#if (defined(__cplusplus) && defined(__IBMCPP__))
|
|
extern "C" {
|
|
extern "builtin" char *__alloca (size_t);
|
|
#endif /* AIX_MALLOC_CHECK */
|
|
|
|
|
|
#if defined( SUN_MALLOC_CHECK )
|
|
typedef void * malloc_t;
|
|
void free();
|
|
void* malloc();
|
|
void* calloc();
|
|
void* realloc();
|
|
#endif /* SUN_MALLOC_CHECK */
|