You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/09/26 16:40:14 UTC
cvs commit: apache-1.3/src/os/win32 os.h
wrowe 01/09/26 07:40:14
Modified: src/os/win32 os.h
Log:
All MULTITHREAD platforms need the tid_t and gettid() functions before
they can compile mod_unique_id.
Revision Changes Path
1.43 +3 -0 apache-1.3/src/os/win32/os.h
Index: os.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/win32/os.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- os.h 2001/09/11 03:03:44 1.42
+++ os.h 2001/09/26 14:40:13 1.43
@@ -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;
@@ -220,6 +221,8 @@
#define isnan(n) _isnan(n)
#define HAVE_ISINF
#define isinf(n) (!_finite(n))
+
+#define gettid() ((tid_t)GetCurrentThreadId())
#endif /* WIN32 */