From: Bradley Nicholes Date: Mon, 1 Oct 2001 20:43:24 +0000 (+0000) Subject: Switched the macro for getpid() to GetThreadGroupID() so that it would return X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfd3605ade20b554b5764f0ac8e1b0c9f8510a39;p=thirdparty%2Fapache%2Fhttpd.git Switched the macro for getpid() to GetThreadGroupID() so that it would return a different value from the gettid() macro. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91224 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/os/netware/os.h b/src/os/netware/os.h index 46679756331..39ab02f95bb 100644 --- a/src/os/netware/os.h +++ b/src/os/netware/os.h @@ -113,7 +113,7 @@ typedef int tid_t; #define crypt(buf,salt) (buf) #define sleep(t) delay(t*1000) -#define getpid GetThreadID +#define getpid() ((pid_t)GetThreadGroupID()) #define gettid() ((tid_t)GetThreadID()) /* Netware doesn't have symlinks so S_ISLNK is always false */ #define S_ISLNK(m) 0