home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 18
/
aminetcdnumber181997.iso
/
Aminet
/
dev
/
gcc
/
ixemulsrc.lha
/
ixemul
/
stack
/
stack.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-12-11
|
305b
|
19 lines
#include "ixemul.h"
/* I wish I knew a more elegant way to do this:
sstr(STACKSIZE) -> str((16384)) -> "(16384)"
*/
#define str(s) #s
#define sstr(s) str(s)
asm("
.data
.even
.globl ___stack
.ascii \"StCk\" | Magic cookie
___stack:
.long " sstr(STACKSIZE) "
.ascii \"sTcK\" | Magic cookie
");