Try another Windows fix.

This commit is contained in:
Michael R Sweet 2024-03-06 16:51:11 -05:00
parent 069a353eaf
commit 73c2a52eb8
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244

1
mxml.h
View File

@ -20,6 +20,7 @@
# include <limits.h> # include <limits.h>
# if defined(_WIN32) && !defined(__CUPS_SSIZE_T_DEFINED) # if defined(_WIN32) && !defined(__CUPS_SSIZE_T_DEFINED)
# define __CUPS_SSIZE_T_DEFINED # define __CUPS_SSIZE_T_DEFINED
# include <sys/types.h>
// Windows does not provide the ssize_t type, so map it to int64_t... */ // Windows does not provide the ssize_t type, so map it to int64_t... */
typedef int64_t ssize_t; // @private@ typedef int64_t ssize_t; // @private@
# define SSIZE_MAX INT64_MAX # define SSIZE_MAX INT64_MAX