Package:postgresql-8.1
Version:8.1.8-1
Serverity:wishlist
Tags:patch

Please add m32r tas() ports.

Regards,

Kazuhiro Inaoka

--- postgresql-8.1.8/src/include/storage/s_lock.h.org   2007-02-21 
12:48:37.000000000 +0900
+++ postgresql-8.1.8/src/include/storage/s_lock.h       2007-02-23 
15:39:09.000000000 +0900
@@ -561,6 +561,15 @@ typedef unsigned char slock_t;
 #endif
 
 
+#if defined(__m32r__)
+#include <sys/tas.h>
+#define HAS_TEST_AND_SET
+
+typedef int slock_t;
+#define TAS(lock) tas(lock)
+
+#endif
+
 #endif /* __GNUC__ */
 
 

Reply via email to