Commit 91a8adb6 91a8adb6c5fc5fdd4056ee0e23a925a27f3d7ebf by Sergey Poznyakoff

Use PROTOTYPES to determine whether the compiler understands

function prototypes.
1 parent fe143d9a
...@@ -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) ()
......