Hack around lds inability to detect used functions, when they are exported.

svn path=/trunk/; revision=53326
This commit is contained in:
Timo Kreuzer 2011-08-19 21:14:11 +00:00
parent e39c07a7a2
commit a95d8d2213

View file

@ -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