FreeBSD correct arch specific gettid defs

remotes/origin/master-1.0.x
William Metcalf 17 years ago committed by Victor Julien
parent 7ce586bc77
commit 7e2408d273

@ -13,8 +13,12 @@
*/ */
#ifdef OS_FREEBSD #ifdef OS_FREEBSD
#ifndef SYS_gettid #ifndef SYS_gettid
#define SYS_gettid 1105 #if __i386__
#endif #define SYS_gettid 224
#elif __amd64__
#define SYS_gettid 186
#endif /* cpu arch */
#endif /* SYS_gettid */
#endif /* OS_FREEBSD */ #endif /* OS_FREEBSD */
/** /**

Loading…
Cancel
Save