--- portab.h 2004/06/12 13:02:12 1.53 +++ portab.h 2005/01/05 23:02:15 1.54 @@ -21,7 +21,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: portab.h,v 1.53 2004/06/12 13:02:12 edgomez Exp $ + * $Id: portab.h,v 1.54 2005/01/05 23:02:15 edgomez Exp $ * ****************************************************************************/ @@ -151,7 +151,7 @@ /*---------------------------------------------------------------------------- | msvc x86 specific macros/functions *---------------------------------------------------------------------------*/ -# if defined(ARCH_IS_IA32) +# if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) # define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax static __inline int64_t read_counter(void) @@ -234,7 +234,7 @@ /*---------------------------------------------------------------------------- | gcc IA32 specific macros/functions *---------------------------------------------------------------------------*/ -# if defined(ARCH_IS_IA32) +# if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) # define BSWAP(a) __asm__ ( "bswapl %0\n" : "=r" (a) : "0" (a) ); static __inline int64_t read_counter(void)