diff loader/win32.c @ 5872:02576893af2a

OpenBSD, NetBSD portability patches by Bj«Órn Sandell <biorn@dce.chalmers.se> Marcus <core@antbear.org> Bernd Ernesti <mplayer@lists.veego.de>
author arpi
date Sat, 27 Apr 2002 22:42:27 +0000
parents f2136a17b451
children c254cb1c26ef
line wrap: on
line diff
--- a/loader/win32.c	Sat Apr 27 21:03:59 2002 +0000
+++ b/loader/win32.c	Sat Apr 27 22:42:27 2002 +0000
@@ -4096,7 +4096,7 @@
     LL(msdmo)
     LL(msvfw32)
 };
-
+#include "mangle.h"
 static char* called_unk = "Called unk_%s\n";
 static void ext_stubs(void)
 {
@@ -4109,9 +4109,9 @@
 	 "movl $0, %eax		\n\t"
 	 "movl $0, %edx		\n\t"
 	 "shl $5,%eax		\n\t"			// ax * 32
-	 "addl $export_names,%eax \n\t"
+	 "addl $"MANGLE(export_names)",%eax \n\t"
 	 "pushl %eax		\n\t"
-	 "pushl called_unk	\n\t"
+	 "pushl "MANGLE(called_unk)"	\n\t"
 	 "call *%edx		\n\t"                   // printf (via dx)
 	 "addl $8,%esp		\n\t"
 	 "xorl %eax,%eax	\n\t"