diff options
author | Guido van Rossum <guido@python.org> | 1999-01-14 18:51:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-14 18:51:53 (GMT) |
commit | 3d37f432938d1fa36e9de1559e692ed78a551e4a (patch) | |
tree | b79820f491941caafe57fddcb0fb5b32281e47da /PC/config.h | |
parent | a50a1df588fced269b4785615aea909289efa6e4 (diff) | |
download | cpython-3d37f432938d1fa36e9de1559e692ed78a551e4a.zip cpython-3d37f432938d1fa36e9de1559e692ed78a551e4a.tar.gz cpython-3d37f432938d1fa36e9de1559e692ed78a551e4a.tar.bz2 |
Jim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).
Diffstat (limited to 'PC/config.h')
-rw-r--r-- | PC/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h index 0573964..3b6e544 100644 --- a/PC/config.h +++ b/PC/config.h @@ -99,6 +99,9 @@ typedef int pid_t; #define IMPORT_8x3_NAMES typedef int pid_t; #define WORD_BIT 16 +#define SIZEOF_INT 2 +#define SIZEOF_LONG 4 +#define SIZEOF_VOID_P 4 #pragma warning(disable:4113) #define memcpy memmove /* memcpy dangerous pointer wrap in Win 3.1 */ #define hypot _hypot @@ -163,8 +166,14 @@ typedef int pid_t; #endif #ifdef M_I386 #define WORD_BIT 32 +#define SIZEOF_INT 4 +#define SIZEOF_LONG 4 +#define SIZEOF_VOID_P 4 #else #define WORD_BIT 16 +#define SIZEOF_INT 2 +#define SIZEOF_LONG 4 +#define SIZEOF_VOID_P 4 #endif #define VA_LIST_IS_ARRAY #define HAVE_CLOCK |