Fix undefined symbols linker error on linux / relwithdebinfo.

See http://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Interface.html
With this patch, the #pragma will also be used with icc and clang,
I didn't test this.
This commit is contained in:
Aleric Inglewood
2012-08-07 05:18:24 +02:00
parent af4ceb0658
commit 2fbf6b732e
2 changed files with 12 additions and 1 deletions

View File

@@ -29,6 +29,11 @@
* $/LicenseInfo$
*/
#ifdef __GNUC__
// Generate code for inlines from llthread.h (needed for is_main_thread()).
#pragma implementation "llthread.h"
#endif
#include "linden_common.h"
#include "llapr.h"