This is an archive of the discontinued LLVM Phabricator instance.

[openmp] [test] Fix building the affinity/format/fields_values.c testcase on Windows
ClosedPublic

Authored by mstorsjo on Nov 9 2022, 2:26 PM.

Details

Summary

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.

Diff Detail

Event Timeline

mstorsjo created this revision.Nov 9 2022, 2:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2022, 2:26 PM
mstorsjo requested review of this revision.Nov 9 2022, 2:26 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: sstefan1. · View Herald Transcript
natgla accepted this revision.Nov 10 2022, 9:51 PM
This revision is now accepted and ready to land.Nov 10 2022, 9:51 PM