mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
This commit is contained in:
parent
05eb40128e
commit
7befb9966e
18 changed files with 17 additions and 139 deletions
|
@ -15,11 +15,7 @@
|
|||
#define WITH_CYCLE_GC 1
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#else
|
||||
#error "limits.h is required by std C -- why isn't HAVE_LIMITS_H defined?"
|
||||
#endif
|
||||
|
||||
#ifndef UCHAR_MAX
|
||||
#error "Something's broken. UCHAR_MAX should be defined in limits.h."
|
||||
|
@ -40,9 +36,7 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_STDLIB_H
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue