-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
+typedef unsigned char slock_t;
+#endif
+#if defined(__ia64)
+typedef unsigned int slock_t;
#endif
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
+typedef unsigned char slock_t;
#endif
#define HAS_TEST_AND_SET
-typedef unsigned char slock_t;
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
#endif
+#if defined(__ia64)
+#define HAS_TEST_AND_SET
+typedef unsigned int slock_t;
+#endif
+
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
#endif
+#if defined(__ia64)
+#define HAS_TEST_AND_SET
+typedef unsigned int slock_t;
+#endif
+
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
-#if defined(__i386__)
+#if defined(__i386__) || defined(__x86_64__)
#define NEED_I386_TAS_ASM
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;
#endif
+#if defined(__ia64)
+#define HAS_TEST_AND_SET
+typedef unsigned int slock_t;
+#endif
+
#if defined(__sparc__)
#define NEED_SPARC_TAS_ASM
#define HAS_TEST_AND_SET
#define USE_UNIVEL_CC
+#if defined(__ia64)
+typedef unsigned int slock_t;
+#else
typedef unsigned char slock_t;
+#endif
+
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321
***************************************/
#define USE_UNIVEL_CC
+#if defined(__ia64)
+typedef unsigned int slock_t;
+#else
typedef unsigned char slock_t;
+#endif
+
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321
***************************************/
#define USE_UNIVEL_CC
+#if defined(__ia64)
+typedef unsigned int slock_t;
+#else
typedef unsigned char slock_t;
+#endif
+
#ifndef BIG_ENDIAN
#define BIG_ENDIAN 4321