[openmp] [test] Fix building the affinity/format/fields_values.c testcase on Windows
authorMartin Storsjö <martin@martin.st>
Wed, 2 Nov 2022 11:55:39 +0000 (11:55 +0000)
committerMartin Storsjö <martin@martin.st>
Fri, 11 Nov 2022 11:54:27 +0000 (13:54 +0200)
commit4bf5893d1ab6ec733f7b0067c69779f5d3843046
tree7462ee5aa0fc3452dd95adcdd4e21e75557d3bc0
parent3438ed8f7e6bb81dc61d9d3da18cf5662c206862
[openmp] [test] Fix building the affinity/format/fields_values.c testcase on Windows

Add a missing <process.h> include for _getpid. Don't typedef the
pid_t type on mingw, as mingw headers already provide a typedef for
it.

Differential Revision: https://reviews.llvm.org/D137745
openmp/runtime/test/affinity/format/fields_values.c