]> git.lyx.org Git - features.git/commitdiff
One more MSVC fix.
authorAngus Leeming <leeming@lyx.org>
Thu, 21 Apr 2005 21:59:05 +0000 (21:59 +0000)
committerAngus Leeming <leeming@lyx.org>
Thu, 21 Apr 2005 21:59:05 +0000 (21:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9852 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/ChangeLog
src/support/forkedcontr.h

index 5e6c69dd967ecdbda0730b9ae4ddec02940488ef..1cb02062de73e61100566210829b3535b9582142 100644 (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.
index ee1a52060b13607ecc233d5e6b0fe2a5e115eb51..2eb43990cc596f5c550ff626202fabf471c161e4 100644 (file)
 #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 {