mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -227,9 +227,6 @@ typedef long intptr_t;
|
|||
/* Define if you have the sigaction function. */
|
||||
#define HAVE_SIGACTION 1
|
||||
|
||||
/* Define if you have the strdup function. */
|
||||
#define HAVE_STRDUP 1
|
||||
|
||||
/* Define if you have the strerror function. */
|
||||
#define HAVE_STRERROR 1
|
||||
|
||||
|
@ -263,27 +260,9 @@ typedef long intptr_t;
|
|||
/* Define if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
/* Define if you have the <locale.h> header file. */
|
||||
#define HAVE_LOCALE_H 1
|
||||
|
||||
/* Define if you have the <ncurses.h> header file. */
|
||||
#define HAVE_NCURSES_H 1
|
||||
|
||||
/* Define if you have the <signal.h> header file. */
|
||||
#define HAVE_SIGNAL_H 1
|
||||
|
||||
/* Define if you have the <stdarg.h> header file. */
|
||||
#define HAVE_STDARG_H 1
|
||||
|
||||
/* Define if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define if you have the <sys/file.h> header file. */
|
||||
#define HAVE_SYS_FILE_H 1
|
||||
|
||||
|
|
|
@ -109,29 +109,22 @@ typedef int pid_t;
|
|||
/* #undef BAD_STATIC_FORWARD */ /* if compiler botches static fwd decls */
|
||||
|
||||
#define STDC_HEADERS 1 /* VAC++ is an ANSI C Compiler */
|
||||
#define HAVE_LIMITS_H 1 /* #include <limits.h> */
|
||||
#define HAVE_STDLIB_H 1 /* #include <stdlib.h> */
|
||||
#define HAVE_HYPOT 1 /* hypot() */
|
||||
#define HAVE_PUTENV 1 /* putenv() */
|
||||
#define HAVE_STDDEF_H 1 /* #include <stddef.h> */
|
||||
/* #define VA_LIST_IS_ARRAY 1 */ /* if va_list is an array of some kind */
|
||||
|
||||
/* Variable-Arguments/Prototypes */
|
||||
#define HAVE_PROTOTYPES 1 /* VAC++ supports C Function Prototypes */
|
||||
#define HAVE_STDARG_H 1 /* #include <stdarg.h> */
|
||||
#define HAVE_STDARG_PROTOTYPES 1 /* Our <stdarg.h> has prototypes */
|
||||
|
||||
/* String/Memory/Locale Operations */
|
||||
#define HAVE_STRDUP 1 /* strdup() */
|
||||
#define HAVE_MEMMOVE 1 /* memmove() */
|
||||
#define HAVE_STRERROR 1 /* strerror() */
|
||||
#define HAVE_SETLOCALE 1 /* setlocale() */
|
||||
#define HAVE_LOCALE_H 1 /* #include <locale.h> */
|
||||
#define MALLOC_ZERO_RETURNS_NULL 1 /* Our malloc(0) returns a NULL ptr */
|
||||
|
||||
/* Signal Handling */
|
||||
#define RETSIGTYPE void /* Return type of handlers (int or void) */
|
||||
#define HAVE_SIGNAL_H 1 /* #include <signal.h> */
|
||||
/* #undef WANT_SIGFPE_HANDLER */ /* Handle SIGFPE (see Include/pyfpe.h) */
|
||||
/* #define HAVE_ALARM 1 */ /* alarm() */
|
||||
/* #define HAVE_SIGINTERRUPT 1 */ /* siginterrupt() */
|
||||
|
|
|
@ -28,7 +28,6 @@ MS_CORE_DLL.
|
|||
*/
|
||||
|
||||
#include <io.h>
|
||||
#define HAVE_LIMITS_H
|
||||
#define HAVE_SYS_UTIME_H
|
||||
#define HAVE_HYPOT
|
||||
#define HAVE_TEMPNAM
|
||||
|
@ -478,21 +477,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
|
|||
/* Define if you have the <fcntl.h> header file. */
|
||||
#define HAVE_FCNTL_H 1
|
||||
|
||||
/* Define if you have the <signal.h> header file. */
|
||||
#define HAVE_SIGNAL_H 1
|
||||
|
||||
/* Define if you have the <stdarg.h> header file. */
|
||||
#define HAVE_STDARG_H 1
|
||||
|
||||
/* Define if you have the <stdarg.h> prototypes. */
|
||||
#define HAVE_STDARG_PROTOTYPES
|
||||
|
||||
/* Define if you have the <stddef.h> header file. */
|
||||
#define HAVE_STDDEF_H 1
|
||||
|
||||
/* Define if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* Define if you have the <sys/audioio.h> header file. */
|
||||
/* #undef HAVE_SYS_AUDIOIO_H */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue