[Python-checkins] python/dist/src/Objects longobject.c,1.118,1.119

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Sat, 13 Jul 2002 07:31:56 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv4036

Modified Files:
	longobject.c 
Log Message:
Undef MIN and MAX before defining them, to avoid warnings on certain
platforms.


Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -C2 -d -r1.118 -r1.119
*** longobject.c	13 Jun 2002 20:33:01 -0000	1.118
--- longobject.c	13 Jul 2002 14:31:51 -0000	1.119
***************
*** 2004,2007 ****
--- 2004,2009 ----
  /* Bitwise and/xor/or operations */
  
+ #undef MIN
+ #undef MAX
  #define MAX(x, y) ((x) < (y) ? (y) : (x))
  #define MIN(x, y) ((x) > (y) ? (y) : (x))