Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d37f43

Browse files
committed
Jim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).
1 parent a50a1df commit 3d37f43

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

PC/config.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ typedef int pid_t;
9999
#define IMPORT_8x3_NAMES
100100
typedef int pid_t;
101101
#define WORD_BIT 16
102+
#define SIZEOF_INT 2
103+
#define SIZEOF_LONG 4
104+
#define SIZEOF_VOID_P 4
102105
#pragma warning(disable:4113)
103106
#define memcpy memmove /* memcpy dangerous pointer wrap in Win 3.1 */
104107
#define hypot _hypot
@@ -163,8 +166,14 @@ typedef int pid_t;
163166
#endif
164167
#ifdef M_I386
165168
#define WORD_BIT 32
169+
#define SIZEOF_INT 4
170+
#define SIZEOF_LONG 4
171+
#define SIZEOF_VOID_P 4
166172
#else
167173
#define WORD_BIT 16
174+
#define SIZEOF_INT 2
175+
#define SIZEOF_LONG 4
176+
#define SIZEOF_VOID_P 4
168177
#endif
169178
#define VA_LIST_IS_ARRAY
170179
#define HAVE_CLOCK

0 commit comments

Comments
 (0)