mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
df0c18d835
commit
b45cbe936e
@ -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.
|
||||
|
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user