diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2021-07-25 06:22:24 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2021-07-25 11:02:55 +0930 |
commit | 8d14a20a0009a8e832cb87fd9cf829bd399aa692 (patch) | |
tree | adaac939b7003405175e7a87ab739129fff12fb0 /perf | |
parent | 9fbf42754899898934bc8bf4f8eeacba37656fdc (diff) | |
download | cairo-8d14a20a0009a8e832cb87fd9cf829bd399aa692.tar.gz |
Fix some win32 compile warnings
Diffstat (limited to 'perf')
-rw-r--r-- | perf/cairo-perf-report.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perf/cairo-perf-report.c b/perf/cairo-perf-report.c index 5a1e25441..64a680242 100644 --- a/perf/cairo-perf-report.c +++ b/perf/cairo-perf-report.c @@ -45,10 +45,12 @@ #endif #ifdef _MSC_VER +#if _MSC_VER < 1800 static long long strtoll (const char *nptr, char **endptr, int base); +#endif static char * basename (char *path); @@ -221,6 +223,8 @@ test_report_parse (test_report_t *report, * The basename function is fully compliant to its GNU specs. */ #ifdef _MSC_VER + +#if _MSC_VER < 1800 long long strtoll (const char *nptr, char **endptr, @@ -228,6 +232,7 @@ strtoll (const char *nptr, { return _atoi64(nptr); } +#endif static char * basename (char *path) |