macos-rollup-20051013
[openafs.git] / src / afs / lock.h
index a5d8253..80e3b79 100644 (file)
@@ -107,7 +107,11 @@ extern tid_t thread_self();
 #define MyPidxx current->pid
 #else
 #if defined(AFS_DARWIN_ENV)
+#if defined(AFS_DARWIN80_ENV)
+#define MyPidxx (proc_selfpid())
+#else
 #define MyPidxx (current_proc()->p_pid )
+#endif
 #else
 #if defined(AFS_FBSD_ENV)
 #define MyPidxx (curproc->p_pid )