mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Fix warning in msvc11 (UINT32_MAX is already defined)
This commit is contained in:
parent
3ae4889526
commit
e0f6b2fed4
@ -27,7 +27,10 @@ namespace {
|
||||
typedef gfx::details::Region region_type_t;
|
||||
typedef bool pixman_bool_t;
|
||||
|
||||
#ifndef UINT32_MAX
|
||||
#define UINT32_MAX std::numeric_limits<uint32_t>::max()
|
||||
#endif
|
||||
|
||||
#define PIXMAN_REGION_MAX std::numeric_limits<int>::max()
|
||||
#define PIXMAN_REGION_MIN std::numeric_limits<int>::min()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user