mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	Jack Jansen, Mac patch:
Include limits.h if we have it.
This commit is contained in:
		
							parent
							
								
									f12d7a02a0
								
							
						
					
					
						commit
						db67739d4f
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -22,6 +22,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. | ||||||
| #include <sys/types.h>		/* For size_t */ | #include <sys/types.h>		/* For size_t */ | ||||||
| #endif /* DONT_HAVE_SYS_TYPES_H */ | #endif /* DONT_HAVE_SYS_TYPES_H */ | ||||||
| #endif /* !STDC_HEADERS */ | #endif /* !STDC_HEADERS */ | ||||||
|  | #ifdef HAVE_LIMITS_H | ||||||
|  | #include <limits.h> | ||||||
|  | #endif /* HAVE_LIMITS_H */ | ||||||
| 
 | 
 | ||||||
| struct arrayobject; /* Forward */ | struct arrayobject; /* Forward */ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -18,6 +18,9 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. | ||||||
| #include "Python.h" | #include "Python.h" | ||||||
| 
 | 
 | ||||||
| #include <ctype.h> | #include <ctype.h> | ||||||
|  | #ifdef HAVE_LIMITS_H | ||||||
|  | #include <limits.h> | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| int PyArg_Parse Py_PROTO((PyObject *, char *, ...)); | int PyArg_Parse Py_PROTO((PyObject *, char *, ...)); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum