From: Bradley Nicholes Date: Wed, 26 Sep 2001 17:17:50 +0000 (+0000) Subject: Code changes necessary to build mod_unique_id on NetWare X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87f1bce060811c3ceacfdc9e5a80984e4cd21d00;p=thirdparty%2Fapache%2Fhttpd.git Code changes necessary to build mod_unique_id on NetWare git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91153 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/os/netware/ApacheModuleUniqueID.def b/src/os/netware/ApacheModuleUniqueID.def new file mode 100644 index 00000000000..95cfc835465 --- /dev/null +++ b/src/os/netware/ApacheModuleUniqueID.def @@ -0,0 +1 @@ +EXPORT unique_id_module diff --git a/src/os/netware/os.h b/src/os/netware/os.h index a8ce240d98f..46679756331 100644 --- a/src/os/netware/os.h +++ b/src/os/netware/os.h @@ -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 @@ -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 */