diff options
Diffstat (limited to 'perf/cairo-perf-report.c')
-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) |