Hi!

When client and server "architecture" are identical, remote code set
PORT_symmetric flag and that causes some optimizations.

But, architectures are:

#if defined(__sun)
#       ifdef sparc
const P_ARCH ARCHITECTURE       = arch_sun4;
#elif (defined i386 || defined AMD64)
const P_ARCH ARCHITECTURE       = arch_sunx86;
#       else
const P_ARCH ARCHITECTURE       = arch_sun;
#       endif
#elif defined(HPUX)
const P_ARCH ARCHITECTURE       = arch_hpux;
#elif (defined AIX || defined AIX_PPC)
const P_ARCH ARCHITECTURE       = arch_rt;
#elif defined(LINUX)
const P_ARCH ARCHITECTURE       = arch_linux;
#elif defined(FREEBSD)
const P_ARCH ARCHITECTURE       = arch_freebsd;
#elif defined(NETBSD)
const P_ARCH ARCHITECTURE       = arch_netbsd;
#elif defined(DARWIN) && defined(__ppc__)
const P_ARCH ARCHITECTURE       = arch_darwin_ppc;
#elif defined(WIN_NT) && defined(AMD64)
const P_ARCH ARCHITECTURE       = arch_winnt_64;
#elif defined(I386)
const P_ARCH ARCHITECTURE       = arch_intel_32;
#elif defined(DARWIN64)
const P_ARCH ARCHITECTURE       = arch_darwin_x64;
#elif defined(DARWINPPC64)
const P_ARCH ARCHITECTURE       = arch_darwin_ppc64;
#elif defined(ARM)
const P_ARCH ARCHITECTURE       = arch_arm;
#endif

But for the given purpose, this is misleading. Each platform/OS is
treated in a different way. Why Linux is treated in the same manner in
all platforms (big and little endian)?


Adriano

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to