Fix 128_run_atexit.c on linux
if we include standard headers on glibc-based systems then we can't use '__attribute__' (those are defined away for unknown compilers) but must use '__attribute' (or #undef that token).
This commit is contained in:
parent
19e3e10e4b
commit
4dc4e93f1d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ void cleanup4(int ret, void *arg)
|
|||
printf ("%d %s\n", ret, (char *) arg);
|
||||
}
|
||||
|
||||
void __attribute__((destructor)) cleanup5(void)
|
||||
void __attribute((destructor)) cleanup5(void)
|
||||
{
|
||||
printf ("cleanup5\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue