mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
COMMON: Undefine ABS if it is a macro
Fixes iOS7 compilation when common/util.h is included after NSObjCRuntime.h, as happens in ios7_video.mm.
This commit is contained in:
parent
a475295ccc
commit
914bb1bd2d
@ -33,6 +33,9 @@
|
||||
#define IS_ALIGNED(value, alignment) \
|
||||
((((size_t)value) & ((alignment) - 1)) == 0)
|
||||
|
||||
#ifdef ABS
|
||||
#undef ABS
|
||||
#endif
|
||||
|
||||
#ifdef MIN
|
||||
#undef MIN
|
||||
|
Loading…
x
Reference in New Issue
Block a user