]> granicus.if.org Git - python/commitdiff
Remove INT_MIN that came from the AST merge.
authorNeal Norwitz <nnorwitz@gmail.com>
Fri, 21 Oct 2005 04:33:02 +0000 (04:33 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Fri, 21 Oct 2005 04:33:02 +0000 (04:33 +0000)
INT_MIN is used in Python/compile.c, but it was also used
in Objects/abstract.c Python/getargs.c.  If we need it for compile.c,
we can get it from the same place as the other files.

Include/pyport.h

index ea2091b9cb81a7d8ad3bababfb627fd1dcce4f30..2440c55f7a250cef09fc6395a80796b0a686f43a 100644 (file)
@@ -583,7 +583,6 @@ typedef     struct fd_set {
 
 #ifndef INT_MAX
 #define INT_MAX 2147483647
-#define INT_MIN (-INT_MAX - 1)
 #endif
 
 #ifndef LONG_MAX