*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0d8b8bc105
commit
81c9d3f57e
1 changed files with 15 additions and 0 deletions
|
|
@ -11,6 +11,21 @@
|
||||||
|
|
||||||
#include "wad.h"
|
#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 */
|
/* Signal handling stack */
|
||||||
#define STACK_SIZE 4*SIGSTKSZ
|
#define STACK_SIZE 4*SIGSTKSZ
|
||||||
char wad_sig_stack[STACK_SIZE];
|
char wad_sig_stack[STACK_SIZE];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue