mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Import from gnulib.
(__restrict_arr): Don't define to __restrict if __cplusplus is defined.
This commit is contained in:
1 parent
2e4d4691b0
commit
ff2fecfbe9
1 file changed
+2
-2
+2
-2
@@ -552,9 +552,9 @@ extern int re_exec _RE_ARGS ((const char *));
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
/* gcc 3.1 and up support the [restrict] syntax. */
|
||||
/* gcc 3.1 and up support the [restrict] syntax, but g++ doesn't. */
|
||||
#ifndef __restrict_arr
|
||||
# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
|
||||
# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)) && !defined __cplusplus
|
||||
# define __restrict_arr __restrict
|
||||
# else
|
||||
# define __restrict_arr
|
||||
|
||||
Reference in new issue
Block a user