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:
Colin Snover 2017-10-07 12:59:47 -05:00
parent a475295ccc
commit 914bb1bd2d

View File

@ -33,6 +33,9 @@
#define IS_ALIGNED(value, alignment) \
((((size_t)value) & ((alignment) - 1)) == 0)
#ifdef ABS
#undef ABS
#endif
#ifdef MIN
#undef MIN