Commit fe088499 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Added typedef to insure compilation on all gcc&egcs versions.

parent ac28aa24
......@@ -648,6 +648,7 @@ void NE_InitializeDLLs( HMODULE16 hModule )
*
* Call the DllEntryPoint of DLLs with subsystem >= 4.0
*/
typedef DWORD WINAPI (*WinNEEntryProc)(DWORD,WORD,WORD,WORD,DWORD,WORD);
static void NE_CallDllEntryPoint( NE_MODULE *pModule, DWORD dwReason )
{
......@@ -668,9 +669,8 @@ static void NE_CallDllEntryPoint( NE_MODULE *pModule, DWORD dwReason )
if ( pModule->flags & NE_FFLAGS_BUILTIN )
{
DWORD WINAPI (*entryProc)(DWORD,WORD,WORD,WORD,DWORD,WORD) =
(DWORD WINAPI (*)(DWORD,WORD,WORD,WORD,DWORD,WORD))
((ENTRYPOINT16 *)PTR_SEG_TO_LIN( entryPoint ))->target;
WinNEEntryProc entryProc = (WinNEEntryProc)
((ENTRYPOINT16 *)PTR_SEG_TO_LIN( entryPoint ))->target;
entryProc( dwReason, hInst, ds, heap, 0, 0 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment