diff options
| author | Alvaro Herrera | 2018-03-15 13:02:51 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2018-03-15 13:02:59 +0000 |
| commit | 8d1b805fcc57be47d3269a13eb01d993fe768295 (patch) | |
| tree | 3ee51009a6f645b5fc399350c98b780a1ba37b54 /src/include/common | |
| parent | e69f5e0efcaf3f26381e56a1507cdf401bf1bdfd (diff) | |
restrict -> pg_restrict
So that it works on MSVC, too.
Author: Michaƫl Paquier
Discussion: https://postgr.es/m/29889.1520968202@sss.pgh.pa.us
Diffstat (limited to 'src/include/common')
| -rw-r--r-- | src/include/common/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/common/string.h b/src/include/common/string.h index 23e2e01f0e7..63c3e81a644 100644 --- a/src/include/common/string.h +++ b/src/include/common/string.h @@ -11,6 +11,7 @@ #define COMMON_STRING_H extern bool pg_str_endswith(const char *str, const char *end); -extern int strtoint(const char *restrict str, char **restrict endptr, int base); +extern int strtoint(const char *pg_restrict str, char **pg_restrict endptr, + int base); #endif /* COMMON_STRING_H */ |
