X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvm%2Fglobal.h;h=420352c6a1c0636e16b8771cad188b4c634a38d4;hb=8e5e5939a03ed41876cac78982d01e88ebdd2cc1;hp=33b7fb1e7ecd32cae73c00b1d1155bc902e12e16;hpb=d972621e13e95b7ac0160902af800f2a745ae7c0;p=cacao.git diff --git a/src/vm/global.h b/src/vm/global.h index 33b7fb1e7..420352c6a 100644 --- a/src/vm/global.h +++ b/src/vm/global.h @@ -89,6 +89,12 @@ typedef union { #define STR(a) #a +/* There are multiple definitions of MIN out there, but we cannot be sure. */ + +#ifndef MIN +# define MIN(a,b) (((a) < (b)) ? (a) : (b)) +#endif + /* forward typedefs ***********************************************************/