fix sizeof void* macro for x64

0.96
aCaB 15 years ago
parent e5f2b2c530
commit 256dc5197a
  1. 6
      win32/platform.h
  2. 2
      win32/update-win32.pl

@ -29,6 +29,12 @@ extern "C"
typedef unsigned short mode_t;
#endif
#ifdef _WIN64
#define SIZEOF_VOID_P 8
#else
#define SIZEOF_VOID_P 4
#endif
#define strcasecmp lstrcmpi
#define strncasecmp strnicmp
#define mkdir(path, mode) mkdir(path)

@ -174,7 +174,7 @@ my %CONF = (
'SIZEOF_LONG' => '4',
'SIZEOF_LONG_LONG' => '8',
'SIZEOF_SHORT' => '2',
'SIZEOF_VOID_P' => '4',
'SIZEOF_VOID_P' => -1,
'STDC_HEADERS' => '1',
'SUPPORT_IPv6' => -1,
'USE_MPOOL' => 1,

Loading…
Cancel
Save