One more MSVC fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9852 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-04-21 21:59:05 +00:00
parent df0c18d835
commit b45cbe936e
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,6 @@
2005-04-21 Angus Leeming <leeming@lyx.org>
* forkedcontr.h:
* forkedcall.h: define pid_t for MSVC.
* forkedcall.C (kill): work around evil MSVC max macro.

View File

@ -24,6 +24,12 @@
#include <string>
#include <vector>
// pid_t isn't defined by the stdlibs that ship with MSVC.
#if defined (_WIN32) && defined(_MSC_VER)
typedef int pid_t;
#endif
namespace lyx {
namespace support {