Commit 7660f36
prov/opx: Use getpid() instead of gettid() for POSIX compliancy.
The 'gettid()' function is not POSIX compliant, and older versions
of glibc may not have that function available in unistd.h, causing
a compile failure. This changes the call to 'getpid()', which is
POSIX compliant and should always be present in glibc.
Signed-off-by: Ben Lynam <[email protected]>1 parent 262f9eb commit 7660f36
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments