summaryrefslogtreecommitdiff
path: root/security/trousers/files/patch-src-include-threads.h
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2010-11-07 12:05:27 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2010-11-07 12:05:27 +0000
commit7612f38ced29eb14aa8c63480da1733c56d714aa (patch)
treea5c28dd8af068213f99b7b54305fd93dac4eb106 /security/trousers/files/patch-src-include-threads.h
parent- Update to 0.87. (diff)
Add trousers 0.3.6, is a CPL (Common Public License) licensed Trusted
Computing Software Stack. It is mostly compliant with the TSS 1.2 specification. Obtained from: http://bsssd.sourceforge.net/
Notes
Notes: svn path=/head/; revision=264182
Diffstat (limited to 'security/trousers/files/patch-src-include-threads.h')
-rw-r--r--security/trousers/files/patch-src-include-threads.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/trousers/files/patch-src-include-threads.h b/security/trousers/files/patch-src-include-threads.h
new file mode 100644
index 000000000000..d0c40e55e9e7
--- /dev/null
+++ b/security/trousers/files/patch-src-include-threads.h
@@ -0,0 +1,11 @@
+--- src/include/threads.h.orig 2010-05-03 11:54:15.000000000 +0900
++++ src/include/threads.h 2010-10-24 21:04:04.828558009 +0900
+@@ -31,7 +31,7 @@
+ #define COND_SIGNAL(c) pthread_cond_signal(c)
+
+ /* thread abstractions */
+-#define THREAD_ID ((THREAD_TYPE)pthread_self())
++#define THREAD_ID (long int)((THREAD_TYPE)pthread_self())
+ #define THREAD_TYPE pthread_t
+ #define THREAD_JOIN pthread_join
+ #define THREAD_DETACH pthread_detach