0fcdab00b6
Requires splitting up PLIST as x86 is the only platform that supports the win32 loader and the debugger libraries. Not extensively tested but appears to run basic 16 bit windows apps
19 lines
398 B
Text
19 lines
398 B
Text
$NetBSD: patch-ah,v 1.1 2003/03/08 03:15:51 jmc Exp $
|
|
|
|
--- windows/WSprintf.c.orig Fri Apr 5 20:42:48 2002
|
|
+++ windows/WSprintf.c Fri Apr 5 20:43:47 2002
|
|
@@ -56,6 +56,14 @@
|
|
int WINAPI
|
|
wvsprintf(LPSTR buf, LPCSTR fmt, void *args)
|
|
{
|
|
+#ifdef __NetBSD__
|
|
+#ifdef __powerpc__
|
|
+ va_list *ap = args;
|
|
+
|
|
+ vsprintf(buf,fmt,*ap);
|
|
+#endif
|
|
+#else
|
|
vsprintf(buf,fmt,args);
|
|
+#endif
|
|
return strlen(buf);
|
|
}
|