winternl.h and ntdll/exception.c conformance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Here is a fix for the function RtlUnwind prototyped as:
void WINAPI RtlUnwind(PVOID,PVOID,PEXCEPTION_RECORD,PVOID);
whereas in ntdll/exception.c it is defined as:
void WINAPI RtlUnwind(PEXCEPTION_REGISTRATION_RECORD,LPVOID,PEXCEPTION_RECORD,DWORD) ;


(without this patch wine does not build fine on Mac OS X)

Pierre

ChangeLog:
Fix RtlUnwind definition types.

Index: include/winternl.h
===================================================================
RCS file: /home/wine/wine/include/winternl.h,v
retrieving revision 1.66
diff -u -r1.66 winternl.h
--- include/winternl.h	12 Dec 2003 05:56:44 -0000	1.66
+++ include/winternl.h	19 Dec 2003 19:53:55 -0000
@@ -1279,7 +1279,7 @@
 NTSTATUS  WINAPI RtlUnicodeToOemN(LPSTR,DWORD,LPDWORD,LPCWSTR,DWORD);
 ULONG     WINAPI RtlUniform(PULONG);
 BOOLEAN   WINAPI RtlUnlockHeap(HANDLE);
-void      WINAPI RtlUnwind(PVOID,PVOID,PEXCEPTION_RECORD,PVOID);
+void      WINAPI RtlUnwind(PEXCEPTION_REGISTRATION_RECORD,LPVOID,PEXCEPTION_RECORD,DWORD);
 #ifdef __ia64__
 void      WINAPI RtlUnwind2(FRAME_POINTERS,PVOID,PEXCEPTION_RECORD,PVOID,PCONTEXT);
 void      WINAPI RtlUnwindEx(FRAME_POINTERS,PVOID,PEXCEPTION_RECORD,PVOID,PCONTEXT,PUNWIND_HISTORY_TABLE);

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux