mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-03 15:58:00 +02:00
Merge branch 'fix-vs' into 'master'
Fix MSVC VS See merge request cairo/cairo!637
This commit is contained in:
commit
8ba9a9c6e8
1 changed files with 5 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue