LUCY-166 Prefer POSIX over Windows.h for process ID.
LUCY-166 Prefer POSIX over Windows.h for process ID.

Use the POSIX interface for getting a PID when it is available, instead of the
windows.h interface.  This allows exec() to work properly under Cygwin and
fixes a failing test (t/109-shared_lock.t).


git-svn-id: 0e6074679e66e8f1cc73dfc755b08bab367f805b@1140387 13f79535-47bb-0310-9956-ffa450edef68

rectang/lucy,rbevers/lucy,pombredanne/apache-lucy,rectang/lucy,apache/lucy,kidaa/lucy,kidaa/lucy,nwellnhof/lucy,rbevers/lucy,nwellnhof/lucy,kidaa/lucy,pombredanne/apache-lucy,kidaa/lucy,apache/lucy,rbevers/lucy,apache/lucy,pombredanne/apache-lucy,nwellnhof/lucy,nwellnhof/lucy,apache/lucy,kidaa/lucy,rbevers/lucy,kidaa/lucy,kidaa/lucy,nwellnhof/lucy,pombredanne/apache-lucy,rbevers/lucy,rectang/lucy,rectang/lucy,pombredanne/apache-lucy,nwellnhof/lucy,rbevers/lucy,kidaa/lucy,pombredanne/apache-lucy,pombredanne/apache-lucy,apache/lucy,rbevers/lucy,nwellnhof/lucy,rectang/lucy,apache/lucy,rectang/lucy,apache/lucy,rectang/lucy