Fixed __builtin_return_address arg.

This commit is contained in:
Alexandre Julliard 1999-04-25 19:04:42 +00:00
parent a9a671d7ca
commit b6b8bf83a0
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ HANDLE SegptrHeap = 0;
#ifdef __GNUC__
#define GET_EIP() (__builtin_return_address(1))
#define GET_EIP() (__builtin_return_address(0))
#define SET_EIP(ptr) ((ARENA_INUSE*)(ptr) - 1)->callerEIP = GET_EIP()
#else
#define GET_EIP() 0