--- portab.h 2006/07/10 15:05:30 1.54.2.1 +++ portab.h 2006/05/28 07:52:45 1.56 @@ -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.54.2.1 2006/07/10 15:05:30 Isibaar Exp $ + * $Id: portab.h,v 1.56 2006/05/28 07:52:45 suxen_drol Exp $ * ****************************************************************************/ @@ -75,6 +75,7 @@ # define CACHE_LINE 64 # define ptr_t uint32_t # define intptr_t int32_t +# define _INTPTR_T_DEFINED # if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER) # include # else @@ -84,6 +85,7 @@ # define CACHE_LINE 64 # define ptr_t uint64_t # define intptr_t int64_t +# define _INTPTR_T_DEFINED # if defined (_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER) # include # else @@ -291,8 +293,8 @@ *---------------------------------------------------------------------------*/ # elif defined(ARCH_IS_IA64) # define BSWAP(a) __asm__ __volatile__ \ - ("mux1 %0 = %1, @rev" ";;" \ - "shr.u %0 = %0, 32" : "=r" (a) : "r" (a)); + ("mux1 %0 = %1, @rev" ";;" \ + "shr.u %0 = %0, 32" : "=r" (a) : "r" (a)); static __inline int64_t read_counter(void) {