]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Code changes necessary to build mod_unique_id on NetWare
authorBradley Nicholes <bnicholes@apache.org>
Wed, 26 Sep 2001 17:17:50 +0000 (17:17 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Wed, 26 Sep 2001 17:17:50 +0000 (17:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91153 13f79535-47bb-0310-9956-ffa450edef68

src/os/netware/ApacheModuleUniqueID.def [new file with mode: 0644]
src/os/netware/os.h

diff --git a/src/os/netware/ApacheModuleUniqueID.def b/src/os/netware/ApacheModuleUniqueID.def
new file mode 100644 (file)
index 0000000..95cfc83
--- /dev/null
@@ -0,0 +1 @@
+EXPORT unique_id_module
index a8ce240d98fe349fc77485a853641cb39c9f0446..46679756331a8c687809a8c640b28ddac2b78b28 100644 (file)
@@ -71,6 +71,7 @@
 typedef signed long int32;
 typedef int uid_t;
 typedef int gid_t;
+typedef int tid_t;
 
 #include "ap_config.h"
 #include <string.h>
@@ -113,6 +114,7 @@ typedef int gid_t;
 #define crypt(buf,salt)            (buf)
 #define sleep(t) delay(t*1000)
 #define getpid GetThreadID
+#define gettid() ((tid_t)GetThreadID())
 /* Netware doesn't have symlinks so S_ISLNK is always false */
 #define S_ISLNK(m) 0
 /* Netware doesn't have isnan,isinf so they always return false */