Use PROTOTYPES to determine whether the compiler understands
function prototypes.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -28,7 +28,7 @@ extern "C" { | ... | @@ -28,7 +28,7 @@ extern "C" { |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #ifndef __P | 30 | #ifndef __P |
31 | # ifdef __STDC__ | 31 | # if defined PROTOTYPES || (defined __STDC__ && __STDC__) |
32 | # define __P(args) args | 32 | # define __P(args) args |
33 | # else | 33 | # else |
34 | # define __P(args) () | 34 | # define __P(args) () | ... | ... |
-
Please register or sign in to post a comment