Ticket #8468: util.h.patch

File util.h.patch, 383 bytes (added by SF/psmedley, 15 years ago)

patch file fo r./common/util.h

  • util.h.

    old new  
    2323
    2424#include "common/scummsys.h"
    2525
     26#if defined  (__INNOTEK_LIBC__)
     27#undef MIN
     28#undef MAX
     29#endif
     30
    2631template<typename T> inline T ABS (T x)                 { return (x>=0) ? x : -x; }
    2732#if !defined(MIN)
    2833template<typename T> inline T MIN (T a, T b)    { return (a<b) ? a : b; }