mirror of
https://github.com/reactos/reactos.git
synced 2025-01-11 16:51:06 +00:00
[OSKITTCP]
Don't add leading underscores to symbols on amd64 builds svn path=/trunk/; revision=48250
This commit is contained in:
parent
592b4de3ba
commit
b2b385e9a8
1 changed files with 5 additions and 0 deletions
|
@ -83,9 +83,14 @@ extern long timedelta;
|
|||
#ifdef _MSC_VER
|
||||
#define MAKE_SET(set, sym, type)
|
||||
#else
|
||||
#if defined(_M_AMD64)
|
||||
#define MAKE_SET(set, sym, type) \
|
||||
asm(".stabs \"" #set "\", " #type ", 0, 0, " #sym)
|
||||
#else
|
||||
#define MAKE_SET(set, sym, type) \
|
||||
asm(".stabs \"_" #set "\", " #type ", 0, 0, _" #sym)
|
||||
#endif
|
||||
#endif
|
||||
#define TEXT_SET(set, sym) MAKE_SET(set, sym, 23)
|
||||
#define DATA_SET(set, sym) MAKE_SET(set, sym, 25)
|
||||
#define BSS_SET(set, sym) MAKE_SET(set, sym, 27)
|
||||
|
|
Loading…
Reference in a new issue