]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Jim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).
authorGuido van Rossum <guido@python.org>
Thu, 14 Jan 1999 18:51:53 +0000 (18:51 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 14 Jan 1999 18:51:53 +0000 (18:51 +0000)
PC/config.h

index 0573964e450da095f36c62a2d2d7d222da4234e3..3b6e5440197168e298df07a6379389ac5505b3f1 100644 (file)
@@ -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