Commit 7a67a281 authored by Pekka Pessi's avatar Pekka Pessi

su_win32/sofia-sip/su_configure.h: take 3 on defining suitable values for...

su_win32/sofia-sip/su_configure.h: take 3 on defining suitable values for win32/win64. Now use __w64 as explained by Michael Jerris.

darcs-hash:20060908132928-65a35-e316db2a75b99a36a63544ff5ec0f0a6d5652b79.gz
parent 713e2358
......@@ -107,11 +107,21 @@
#include <basetsd.h>
#define SOFIA_ISIZE_T size_t
#define SOFIA_ISSIZE_T ssize_t
#define SOFIA_USIZE_T size_t
#define SU_INTPTR_T INTPTR_T
#define SU_INTPTR_T SOFIA_SSIZE_T
#ifdef _WIN64
#define SOFIA_SSIZE_T __in64
#define SOFIA_ISSIZE_T __int64
#define SU_INTPTR_T __int64
#elif _MSC_VER >= 1400
#define SOFIA_SSIZE_T __int32 __w64
#define SOFIA_ISSIZE_T __int32 __w64
#define SU_INTPTR_T __int32 __w64
#else
#define SOFIA_SSIZE_T __int32
#define SOFIA_ISSIZE_T __int32
#define SU_INTPTR_T __int32
#endif
#ifndef SIZE_MAX
#define SIZE_MAX MAXINT_PTR
......
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