msvcrt/sys/types.h

Martin Fuchs martin-fuchs at gmx.net
Fri Oct 8 14:05:16 CDT 2004


Changelog:
Define pid_t and ssize_t if not already defined


Index: types.h
===================================================================
RCS file: /home/wine/wine/include/msvcrt/sys/types.h,v
retrieving revision 1.10
diff -u -p -d -r1.10 types.h
--- types.h     25 Jun 2004 01:19:15 -0000      1.10
+++ types.h     8 Oct 2004 18:56:07 -0000
@@ -61,4 +61,14 @@ typedef unsigned long u_long;
 #define mode_t _mode_t
 #define off_t _off_t

+#ifndef _PID_T_DEFINED
+typedef int pid_t;
+#define _PID_T_DEFINED
+#endif
+
+#ifndef _SSIZE_T_DEFINED
+typedef int ssize_t;
+#define _SSIZE_T_DEFINED
+#endif
+
 #endif /* __WINE_SYS_TYPES_H */





More information about the wine-patches mailing list