Merge branch 'fix-vs' into 'master'

Fix MSVC VS

See merge request cairo/cairo!637
This commit is contained in:
Dan Rosser 2026-02-10 02:12:27 +11:00
commit 8ba9a9c6e8

View file

@ -47,7 +47,9 @@
# include <inttypes.h>
#elif HAVE_SYS_INT_TYPES_H
# include <sys/int_types.h>
#elif defined(_MSC_VER)
#endif
#if defined(_MSC_VER) && !defined(HAVE_STDINT_H)
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;
@ -56,12 +58,11 @@
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif
# ifndef HAVE_UINT64_T
# define HAVE_UINT64_T 1
# endif
#else
#error Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)
#endif
#ifndef INT16_MIN
# define INT16_MIN (-32767-1)