summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-02-10 16:50:21 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-02-10 16:50:21 (GMT)
commit7befb9966e1435475a9d2e9d3cc3670564ce77aa (patch)
tree4e33029bfd72bb8eaa72f9fdd5c1712e5ecdb97b /PC
parent05eb40128e305e07527d317e3964e8a1160d0961 (diff)
downloadcpython-7befb9966e1435475a9d2e9d3cc3670564ce77aa.zip
cpython-7befb9966e1435475a9d2e9d3cc3670564ce77aa.tar.gz
cpython-7befb9966e1435475a9d2e9d3cc3670564ce77aa.tar.bz2
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
Diffstat (limited to 'PC')
-rw-r--r--PC/os2emx/pyconfig.h21
-rw-r--r--PC/os2vacpp/pyconfig.h7
-rw-r--r--PC/pyconfig.h13
3 files changed, 0 insertions, 41 deletions
diff --git a/PC/os2emx/pyconfig.h b/PC/os2emx/pyconfig.h
index a0817f8..afe79e4 100644
--- a/PC/os2emx/pyconfig.h
+++ b/PC/os2emx/pyconfig.h
@@ -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
diff --git a/PC/os2vacpp/pyconfig.h b/PC/os2vacpp/pyconfig.h
index d175f51..0051d92 100644
--- a/PC/os2vacpp/pyconfig.h
+++ b/PC/os2vacpp/pyconfig.h
@@ -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() */
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 54c98d1..79f5ddd 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -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 */