Remove vestiges of __P(). Define _GNU_SOURCE, if not alrerady defined.
Showing
1 changed file
with
3 additions
and
8 deletions
... | @@ -17,14 +17,9 @@ | ... | @@ -17,14 +17,9 @@ |
17 | #ifndef MUASPRINTF_H | 17 | #ifndef MUASPRINTF_H |
18 | #define MUASPRINTF_H | 18 | #define MUASPRINTF_H |
19 | 19 | ||
20 | #ifndef __P | 20 | #ifndef _GNU_SOURCE |
21 | # if defined PROTOTYPES || (defined __STDC__ && __STDC__) | 21 | # define _GNU_SOURCE |
22 | # define args args | 22 | #endif |
23 | # else | ||
24 | # define args) ( | ||
25 | # endif | ||
26 | #endif /*__P */ | ||
27 | |||
28 | #include <stdarg.h> | 23 | #include <stdarg.h> |
29 | #include <stdio.h> | 24 | #include <stdio.h> |
30 | 25 | ... | ... |
-
Please register or sign in to post a comment