mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 19:02:32 +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
|
@ -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