mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:45:41 +00:00
[RTL]
Hack around lds inability to detect used functions, when they are exported. svn path=/trunk/; revision=53326
This commit is contained in:
parent
e39c07a7a2
commit
a95d8d2213
1 changed files with 6 additions and 3 deletions
|
@ -14,10 +14,13 @@
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
#undef RtlUlonglongByteSwap
|
||||
#undef RtlUlongByteSwap
|
||||
/* HACK: ld is too stupid to understand that we need the functions
|
||||
when we export them, so we force it to be linked this way. */
|
||||
#ifdef __GNUC__
|
||||
#undef RtlUshortByteSwap
|
||||
|
||||
USHORT FASTCALL RtlUshortByteSwap(USHORT Source);
|
||||
PVOID Dummy = RtlUshortByteSwap;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue