Mercurial > cpython-lru_cache-weakref
diff Include/Python.h @ 24210:25367c7c40a4 legacy-trunk
HAVE_LIMITS_H -- raise #error if not defined; limits.h is std C
ULONG_MAX -- removed; std C requires it in limits.h
LONGLONG_MAX -- removed; never used
ULONGLONGMAX -- removed; never used
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Fri, 12 Jul 2002 05:01:20 +0000 |
| parents | bf3421a28744 |
| children | 132577f693b1 |
line wrap: on
line diff
--- a/Include/Python.h Thu Jul 11 22:02:33 2002 +0000 +++ b/Include/Python.h Fri Jul 12 05:01:20 2002 +0000 @@ -33,6 +33,8 @@ #ifdef HAVE_LIMITS_H #include <limits.h> +#else +#error "limits.h is required by std C -- why isn't HAVE_LIMITS_H defined?" #endif #if defined(__sgi) && defined(WITH_THREAD) && !defined(_SGI_MP_SOURCE)
