Index: lib/Target/X86/X86JITInfo.cpp
===================================================================
RCS file: /var/cvs/llvm/llvm/lib/Target/X86/X86JITInfo.cpp,v
retrieving revision 1.14
diff -u -r1.14 X86JITInfo.cpp
--- lib/Target/X86/X86JITInfo.cpp	22 Jul 2005 20:49:37 -0000	1.14
+++ lib/Target/X86/X86JITInfo.cpp	26 Jan 2006 15:28:54 -0000
@@ -20,6 +20,11 @@
 #include <iostream>
 using namespace llvm;
 
+#ifdef _MSC_VER
+  extern "C" void *_AddressOfReturnAddress(void);
+  #pragma intrinsic(_AddressOfReturnAddress)
+#endif
+
 void X86JITInfo::replaceMachineCodeForFunction(void *Old, void *New) {
   unsigned char *OldByte = (unsigned char *)Old;
   *OldByte++ = 0xE9;                // Emit JMP opcode.
@@ -64,9 +69,6 @@
     "popl    %ebp\n"
     "ret\n");
 #else
-  extern "C" void *_AddressOfReturnAddress(void);
-  #pragma intrinsic(_AddressOfReturnAddress)
-
   void X86CompilationCallback2(void);
 
   _declspec(naked) void X86CompilationCallback(void) {
