mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 4b792c35d0be (bug 1041325) because of build bustage
This commit is contained in:
parent
d7aaac4087
commit
c30cc42648
@ -5,7 +5,10 @@
|
||||
#include "build/build_config.h"
|
||||
|
||||
#if defined(COMPILER_MSVC)
|
||||
#include <intrin.h>
|
||||
// MSDN says to #include <intrin.h>, but that breaks the VS2005 build.
|
||||
extern "C" {
|
||||
void* _ReturnAddress();
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "base/location.h"
|
||||
|
@ -18,7 +18,10 @@ namespace win {
|
||||
|
||||
// TODO(rvargas): remove this with the rest of the verifier.
|
||||
#if defined(COMPILER_MSVC)
|
||||
#include <intrin.h>
|
||||
// MSDN says to #include <intrin.h>, but that breaks the VS2005 build.
|
||||
extern "C" {
|
||||
void* _ReturnAddress();
|
||||
}
|
||||
#define BASE_WIN_GET_CALLER _ReturnAddress()
|
||||
#elif defined(COMPILER_GCC)
|
||||
#define BASE_WIN_GET_CALLER __builtin_extract_return_addr(\\
|
||||
|
Loading…
Reference in New Issue
Block a user