Maybe something like that could help you:
#define HAS_INT64_PRIMITIVE
#ifdef MSVC
#define int64_t __int64
#elif ...
#else
typedef struct int64_t_ { int32_t a, b; } int64_t;
#undef HAS_INT64_PRIMITIVE
#endif
- Michael
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: h
thanks, wez
> There is probably a configure check somewhere (the bundled mysql client
> library from 4.3 branch comes to mind) that you can use to make the
decision
> on 64 bit support.
my concern is not the configure check, per se. im just concerned that having
the
extension depend on 64bit supp
64 bit integer support is really a function of the compiler, not the OS.
The windows compiler certainly does support a 64 bit integer type (INT64
iirc).
There is probably a configure check somewhere (the bundled mysql client
library from 4.3 branch comes to mind) that you can use to make the decis