Kaydet (Commit) 3d37f432 authored tarafından Guido van Rossum's avatar Guido van Rossum

Jim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).

üst a50a1df5
...@@ -99,6 +99,9 @@ typedef int pid_t; ...@@ -99,6 +99,9 @@ typedef int pid_t;
#define IMPORT_8x3_NAMES #define IMPORT_8x3_NAMES
typedef int pid_t; typedef int pid_t;
#define WORD_BIT 16 #define WORD_BIT 16
#define SIZEOF_INT 2
#define SIZEOF_LONG 4
#define SIZEOF_VOID_P 4
#pragma warning(disable:4113) #pragma warning(disable:4113)
#define memcpy memmove /* memcpy dangerous pointer wrap in Win 3.1 */ #define memcpy memmove /* memcpy dangerous pointer wrap in Win 3.1 */
#define hypot _hypot #define hypot _hypot
...@@ -163,8 +166,14 @@ typedef int pid_t; ...@@ -163,8 +166,14 @@ typedef int pid_t;
#endif #endif
#ifdef M_I386 #ifdef M_I386
#define WORD_BIT 32 #define WORD_BIT 32
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_VOID_P 4
#else #else
#define WORD_BIT 16 #define WORD_BIT 16
#define SIZEOF_INT 2
#define SIZEOF_LONG 4
#define SIZEOF_VOID_P 4
#endif #endif
#define VA_LIST_IS_ARRAY #define VA_LIST_IS_ARRAY
#define HAVE_CLOCK #define HAVE_CLOCK
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment