Fix the compiling error: \"Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)\" under MacOS
This commit is contained in:
@@ -36,6 +36,13 @@
|
||||
#define cairo_private
|
||||
#define HAVE_UINT64_T 1
|
||||
|
||||
/*for compatibility with MacOS*/
|
||||
#ifndef HAVE_STDINT_H
|
||||
#ifdef __APPLE__
|
||||
#define HAVE_STDINT_H 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if HAVE_STDINT_H
|
||||
# include <stdint.h>
|
||||
#elif HAVE_INTTYPES_H
|
||||
|
||||
Reference in New Issue
Block a user