*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5cd99377b5
commit
737bff3ee5
1 changed files with 15 additions and 0 deletions
|
|
@ -11,6 +11,21 @@
|
|||
|
||||
#include "wad.h"
|
||||
|
||||
/* For some odd reason, certain linux distributions do not seem to define the
|
||||
ESP, EIP, and EBP registers. This is a hack */
|
||||
|
||||
#ifdef WAD_LINUX
|
||||
#ifndef ESP
|
||||
#define ESP 7
|
||||
#endif
|
||||
#ifndef EBP
|
||||
#define EBP 6
|
||||
#endif
|
||||
#ifndef EIP
|
||||
#define EIP 14
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Signal handling stack */
|
||||
#define STACK_SIZE 4*SIGSTKSZ
|
||||
char wad_sig_stack[STACK_SIZE];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue