mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
e620a803b6
PR: ports/22544 Submitted by: maintainer
18 lines
479 B
Plaintext
18 lines
479 B
Plaintext
--- speed.cc.orig Sun Oct 29 03:19:48 2000
|
|
+++ speed.cc Sun Oct 29 03:20:05 2000
|
|
@@ -25,8 +25,12 @@
|
|
pthread_mutexattr_init(&ma);
|
|
#if !defined (__sparc__) && !defined(__mips__)
|
|
pthread_mutexattr_settype(&ma,MUTEX_TYPE_FAST);
|
|
-#elseif defined(__mips__)
|
|
- pthread_mutexattr_settype(&ma,MUTEX_TYPE_NORMAL);
|
|
+#else
|
|
+
|
|
+#if defined(__mips__)
|
|
+ pthread_mutexattr_settype(&ma,MUTEX_TYPE_NORMAL);
|
|
+#endif
|
|
+
|
|
#endif
|
|
pthread_mutex_init(&lock1,&ma);
|
|
pthread_mutexattr_destroy(&ma);
|