* include/sys/cygwin.h (external_pinfo): Define
EXTERNAL_PINFO_VERSION_16_BIT and EXTERNAL_PINFO_VERSION_32_BIT
instead of just EXTERNAL_PINFO_VERSION.
+2002-05-29 Corinna Vinschen <corinna@vinschen.de>
+
+ * external.cc (fillout_pinfo): Use new version define.
+ * include/sys/cygwin.h (external_pinfo): Define
+ EXTERNAL_PINFO_VERSION_16_BIT and EXTERNAL_PINFO_VERSION_32_BIT
+ instead of just EXTERNAL_PINFO_VERSION.
+
2002-05-29 Christopher Faylor <cgf@redhat.com>
* external.cc (fillout_pinfo): Set new version field in external_pinfo
ep.rusage_children = p->rusage_children;
strcpy (ep.progname, p->progname);
ep.strace_mask = 0;
- ep.version = EXTERNAL_PINFO_VERSION;
+ ep.version = EXTERNAL_PINFO_VERSION_32_BIT;
ep.process_state = p->process_state;
#define TTY_CONSOLE 0x40000000
-#define EXTERNAL_PINFO_VERSION 1
+#define EXTERNAL_PINFO_VERSION_16_BIT 0
+#define EXTERNAL_PINFO_VERSION_32_BIT 1
#ifndef _SYS_TYPES_H
typedef unsigned short __uid16_t;
DWORD process_state;
+ /* Only available if version >= EXTERNAL_PINFO_VERSION_32_BIT */
__uid32_t uid32;
__gid32_t gid32;
};