We could check for gcc here and define __nonnull expanding to the usual __attribute__ stuff. But hey, we're just compiling something on Darwin that has been tested with that macros on other platforms. Make it simple.
Signed-off-by: Bernhard Walle <[email protected]> --- eglibc/locale/nl_types.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/eglibc/locale/nl_types.h b/eglibc/locale/nl_types.h index c1190b5..15988e1 100644 --- a/eglibc/locale/nl_types.h +++ b/eglibc/locale/nl_types.h @@ -21,6 +21,10 @@ #include <features.h> +#ifndef __nonnull +# define __nonnull(params) +#endif + /* The default message set used by the gencat program. */ #define NL_SETD 1 -- 1.7.9 -- ptxdist mailing list [email protected]
