* child_info.h (PROC_MAGIC_GENERIC): Define differently for x86 vs. x86_64.

This commit is contained in:
Christopher Faylor 2013-08-23 14:32:28 +00:00
parent 78aaee2321
commit 0d585a6e8c
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-08-23 Christopher Faylor <me.cygwin2013@cgf.cx>
* child_info.h (PROC_MAGIC_GENERIC): Define differently for x86 vs.
x86_64.
2013-08-23 Corinna Vinschen <corinna@vinschen.de>
* path.h (enum path_types): Drop definition of PATH_64BITEXEC.

View File

@ -30,7 +30,11 @@ enum child_status
#define OPROC_MAGIC_MASK 0xff00ff00
#define OPROC_MAGIC_GENERIC 0xaf00f000
#define PROC_MAGIC_GENERIC 0xaf00fa00
#ifdef __x86_64__
#define PROC_MAGIC_GENERIC 0xaf00fa64
#else /*!x86_64*/
#define PROC_MAGIC_GENERIC 0xaf00fa32
#endif
#define EXEC_MAGIC_SIZE sizeof(child_info)