From 8d14a20a0009a8e832cb87fd9cf829bd399aa692 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Sun, 25 Jul 2021 06:22:24 +0930 Subject: Fix some win32 compile warnings --- perf/cairo-perf-report.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perf') 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) -- cgit v1.2.1