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

Skip to content

Commit 361b583

Browse files
committed
Only include <basetsd.h> for VC 6.0 and higher.
1 parent ef7bae6 commit 361b583

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

PC/config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,9 @@ typedef int pid_t;
243243

244244
/* define the ANSI intptr_t type for portable use of a pointer sized
245245
integer */
246+
#if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
246247
#include <basetsd.h>
248+
#endif
247249
#if defined(MS_WINDOWS) && !defined(MS_WIN64)
248250
typedef long intptr_t;
249251
#endif

0 commit comments

Comments
 (0)