mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
64bit Firebird for MacOS
This commit is contained in:
parent
57cb390c1e
commit
c832e7b14f
@ -49,7 +49,7 @@ typedef unsigned long uintptr_t;
|
||||
/* API handles */
|
||||
/******************************************************************/
|
||||
|
||||
#if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(_WIN64)
|
||||
#if defined(_LP64) || defined(__LP64__) || defined(__arch64__) || defined(_WIN64)
|
||||
typedef unsigned int FB_API_HANDLE;
|
||||
#else
|
||||
typedef void* FB_API_HANDLE;
|
||||
|
@ -286,6 +286,9 @@ static inline int sinixz_sigaction(int sig, const struct sinixz_sigaction *act,
|
||||
#define I386
|
||||
#define IMPLEMENTATION isc_info_db_impl_darwin_x86 /* 70 */
|
||||
#endif
|
||||
#ifdef __x86_64__
|
||||
#define IMPLEMENTATION isc_info_db_impl_darwin_x86 /* 70 */
|
||||
#endif
|
||||
#define IEEE
|
||||
#define QUADCONST(n) (n##LL)
|
||||
#define QUADFORMAT "q"
|
||||
|
@ -133,7 +133,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef DARWIN
|
||||
#ifdef i386
|
||||
#if defined(i386) || (__x86_64__)
|
||||
#define FB_PLATFORM "UI" /* Darwin/Intel */
|
||||
#endif
|
||||
#if defined (DARWIN) && defined (_powerpc_)
|
||||
|
@ -315,7 +315,7 @@ const SSHORT CLASS = CLASS_NETBSD_I386;
|
||||
#endif
|
||||
|
||||
#ifdef DARWIN
|
||||
#ifdef i386
|
||||
#if defined(i386) || defined (__x86_64__)
|
||||
const SSHORT CLASS = CLASS_DARWIN_I386;
|
||||
#endif
|
||||
#ifdef powerpc
|
||||
|
@ -39,7 +39,7 @@
|
||||
// The simpliest way to check it is to issue
|
||||
// "select abs(2.0/3.0) from rdb$database" from correct client
|
||||
// It will return big strange value in case of invalid define
|
||||
#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(MIPSEL)
|
||||
#if defined(i386) || defined(I386) || defined(_M_IX86) || defined(AMD64) || defined(MIPSEL) || defined(__x86_64__)
|
||||
#define SWAP_DOUBLE
|
||||
#elif defined(sparc) || defined(PowerPC) || defined(PPC) || defined(__ppc__) || defined(HPUX) || defined(MIPS)
|
||||
#undef SWAP_DOUBLE
|
||||
|
Loading…
Reference in New Issue
Block a user