openexr: make architecture independent
[oi-userland.git] / components / mail / opendkim / patches / 02_config_h.patch
blob03e44d8afa56961d768c35e5ffd564c484e9254b
1 # again __P isn't defined anywhere else
2 --- opendkim-2.10.3/opendkim/config.h 2022-02-05 20:11:14.668189198 +0000
3 +++ opendkim-2.10.3/opendkim/config.h.new 2022-02-05 20:14:36.784798073 +0000
4 @@ -18,6 +18,16 @@
5 #endif /* HAVE_STDBOOL_H */
6 #include <stdio.h>
8 +#ifdef __STDC__
9 +# ifndef __P
10 +# define __P(x) x
11 +# endif /* ! __P */
12 +#else /* __STDC__ */
13 +# ifndef __P
14 +# define __P(x) ()
15 +# endif /* ! __P */
16 +#endif /* __STDC__ */
18 /* types and things */
19 #define CONFIG_TYPE_STRING 0
20 #define CONFIG_TYPE_INTEGER 1