From be63631e952c5afa64b50d002ce800f0a90bdb5f Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 26 Sep 2001 14:40:13 +0000 Subject: [PATCH] All MULTITHREAD platforms need the tid_t and gettid() functions before they can compile mod_unique_id. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91149 13f79535-47bb-0310-9956-ffa450edef68 --- src/os/win32/os.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/os/win32/os.h b/src/os/win32/os.h index 0397f94d3c1..f3742fdceab 100755 --- a/src/os/win32/os.h +++ b/src/os/win32/os.h @@ -121,6 +121,7 @@ typedef int uid_t; typedef int gid_t; typedef int pid_t; +typedef int tid_t; #ifdef _MSC_VER /* modified to match declaration in sys/stat.h */ typedef unsigned short mode_t; @@ -221,6 +222,8 @@ API_EXPORT(const char *) ap_os_dso_error(void); #define HAVE_ISINF #define isinf(n) (!_finite(n)) +#define gettid() ((tid_t)GetCurrentThreadId()) + #endif /* WIN32 */ #endif /* ! APACHE_OS_H */ -- 2.47.2