Prefer POSIX over windows.h for process ID
------------------------------------------
Key: LUCY-166
URL: https://issues.apache.org/jira/browse/LUCY-166
Project: Lucy
Issue Type: Bug
Components: Util
Affects Versions: 0.1.0 (incubating)
Reporter: Marvin Humphrey
Priority: Minor
Fix For: 0.1.1 (incubating), 0.2.0 (incubating)
Cygwin processes have a Cygwin PID in addition to the Windows PID. Lucy
should use the Cygwin PID, which necessitates changing the order of #ifdefs
in core/Lucy/Util/ProcessID.c. This will allow exec() to work properly
under Cygwin, in addition to fixing a failing test (t/110-shared_lock.t).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira