diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2021-08-07 15:44:21 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2021-08-07 15:44:21 +0930 |
commit | 76331f654eef10d3feed2fc335d037416f5b609f (patch) | |
tree | 212d2ecbded325904bb7346d61dcad405148d04c /src/cairo-ps-surface.c | |
parent | 10911342584fce363579ecd67faccd169150b7d7 (diff) | |
download | cairo-76331f654eef10d3feed2fc335d037416f5b609f.tar.gz |
Fix some mingw warnings and correct the value of R_OK
Diffstat (limited to 'src/cairo-ps-surface.c')
-rw-r--r-- | src/cairo-ps-surface.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c index 0e7b77059..c61c2246d 100644 --- a/src/cairo-ps-surface.c +++ b/src/cairo-ps-surface.c @@ -102,7 +102,11 @@ #endif #ifndef HAVE_CTIME_R -#define ctime_r(T, BUF) ctime (T) +static char *ctime_r(const time_t *timep, char *buf) +{ + (void)buf; + return ctime(timep); +} #endif /** |