]> Savannah Git Hosting - gnulib.git/commitdiff
glob-h: Make last patch work with Solaris 10 cc.
authorBruno Haible <bruno@clisp.org>
Sun, 6 Jun 2021 23:18:01 +0000 (01:18 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 6 Jun 2021 23:19:31 +0000 (01:19 +0200)
* modules/glob-h (Makefile.am): Also transform the '__restrict' macro.

modules/glob-h

index 0b71fd223978750119e8c198d40612fa220c5fc7..64ad0ded865771e3eff1c5d2b38eb3bc131c1b6d 100644 (file)
@@ -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|' \