diff options
| author | Dyami Caliri <dyami@dragonframe.com> | 2015-05-24 09:04:24 -0700 |
|---|---|---|
| committer | Dyami Caliri <dyami@dragonframe.com> | 2015-05-27 14:47:54 +0000 |
| commit | 970241a11ad03f33fd2f8c3dcc8bf7e54a7d274f (patch) | |
| tree | ab418957c573978f3df6e87fb5397d42778a6a32 /src/gui/doc/snippets/plaintextlayout/window.cpp | |
| parent | 9749ddeb4b2eb083413441a9403d7b5ffab1f6c1 (diff) | |
Fix forkfd on OS X 10.7 and earlier by avoiding waitid altogether
On OS X 10.7 and earlier, waitid() never sets si_pid, even when using
P_PID. So on OS X, check if waitid() works, and if not, use the same
codepath as if HAVE_WAITID were not defined.
Change-Id: I64331a090f9358bb01f435954d3dfd3ab430a96c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/doc/snippets/plaintextlayout/window.cpp')
0 files changed, 0 insertions, 0 deletions
