diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-03-22 16:08:19 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-03-22 16:08:19 -0400 |
| commit | 02767690e0084ccbad2268c4f4abb0b2d2e8c30a (patch) | |
| tree | 19221aba21333173dc09c6df37a4b739af9fa969 /src/parse_f128.h | |
| parent | 71c78cc9cfbcefa165882326a9b90efacf107216 (diff) | |
| download | zig-02767690e0084ccbad2268c4f4abb0b2d2e8c30a.tar.gz zig-02767690e0084ccbad2268c4f4abb0b2d2e8c30a.zip | |
get rid of restrict; it's not supported by MSVC
Diffstat (limited to 'src/parse_f128.h')
| -rw-r--r-- | src/parse_f128.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/parse_f128.h b/src/parse_f128.h index 684b666024..82cdf6c9a0 100644 --- a/src/parse_f128.h +++ b/src/parse_f128.h @@ -12,12 +12,10 @@ #ifdef __cplusplus #define ZIG_EXTERN_C extern "C" -#define ZIG_RESTRICT #else #define ZIG_EXTERN_C -#define ZIG_RESTRICT restrict #endif -ZIG_EXTERN_C float128_t parse_f128(const char *ZIG_RESTRICT s, char **ZIG_RESTRICT p); +ZIG_EXTERN_C float128_t parse_f128(const char *s, char **p); #endif |
