mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 19:38:03 +02:00
win32: Avoid redefining ssize_t
... if it's already defined by system headers. mingw-w64 includes a ssize_t definition, so we'll have to make sure not to redefine it in that case.
This commit is contained in:
parent
a965b0f95f
commit
d18542b735
1 changed files with 2 additions and 0 deletions
|
|
@ -41,8 +41,10 @@
|
|||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
#ifndef _SSIZE_T_DEFINED
|
||||
typedef SSIZE_T ssize_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_GETLINE
|
||||
cairo_private ssize_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue