Module: wine Branch: master Commit: ddc8941d1c874f29c5b15da93db5c8d34a8ce5f9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ddc8941d1c874f29c5b15da93d...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Feb 24 17:53:06 2009 +0100
winebuild: Allow the module entry point to be NULL.
---
tools/winebuild/spec32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c index 583c422..5489125 100644 --- a/tools/winebuild/spec32.c +++ b/tools/winebuild/spec32.c @@ -451,7 +451,7 @@ void BuildSpec32File( DLLSPEC *spec ) output( "\t.long 0\n" ); /* SizeOfUninitializedData */ /* note: we expand the AddressOfEntryPoint field on 64-bit by overwriting the BaseOfCode field */ output( "\t%s %s\n", /* AddressOfEntryPoint */ - get_asm_ptr_keyword(), asm_name(spec->init_func) ); + get_asm_ptr_keyword(), spec->init_func ? asm_name(spec->init_func) : "0" ); if (get_ptr_size() == 4) { output( "\t.long 0\n" ); /* BaseOfCode */