From: Bruno Haible Date: Sun, 6 Jun 2021 23:18:01 +0000 (+0200) Subject: glob-h: Make last patch work with Solaris 10 cc. X-Git-Tag: v1.0~2847 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=82ad8518b7da6e3e9903220715ce950b3a429ebe;p=gnulib.git glob-h: Make last patch work with Solaris 10 cc. * modules/glob-h (Makefile.am): Also transform the '__restrict' macro. --- diff --git a/modules/glob-h b/modules/glob-h index 0b71fd2239..64ad0ded86 100644 --- a/modules/glob-h +++ b/modules/glob-h @@ -59,6 +59,7 @@ glob-libc.gl.h: glob-libc.h sed -e '/__BEGIN_DECLS/{ s/__BEGIN_DECLS/#ifdef __cplusplus%extern "C" {%#endif/; y/%/\n/; }' \ -e '/__END_DECLS/{ s/__END_DECLS/#ifdef __cplusplus%}%#endif/; y/%/\n/; }' \ -e 's|__THROW||g' \ + -e 's|__restrict|restrict|g' \ -e 's|defined __USE_MISC|1|' \ -e 's|ifdef __USE_GNU|if 1|' \ -e 's|ifdef __USE_LARGEFILE64|if 0|' \