mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Added filename to 32 bit builtin module descriptors.
This commit is contained in:
parent
d2344fbbcd
commit
117f9f9713
2 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,7 @@ typedef void (*ENTRYPOINT32)();
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
const char *name; /* DLL name */
|
const char *name; /* DLL name */
|
||||||
|
const char* filename; /* DLL file name */
|
||||||
int base; /* Ordinal base */
|
int base; /* Ordinal base */
|
||||||
int nb_funcs; /* Number of functions */
|
int nb_funcs; /* Number of functions */
|
||||||
int nb_names; /* Number of function names */
|
int nb_names; /* Number of function names */
|
||||||
|
|
|
@ -1222,6 +1222,7 @@ static int BuildSpec32File( char * specfile, FILE *outfile )
|
||||||
fprintf( outfile, "const BUILTIN32_DESCRIPTOR %s_Descriptor =\n{\n",
|
fprintf( outfile, "const BUILTIN32_DESCRIPTOR %s_Descriptor =\n{\n",
|
||||||
DLLName );
|
DLLName );
|
||||||
fprintf( outfile, " \"%s\",\n", DLLName );
|
fprintf( outfile, " \"%s\",\n", DLLName );
|
||||||
|
fprintf( outfile, " \"%s\",\n", DLLFileName );
|
||||||
fprintf( outfile, " %d,\n", Base );
|
fprintf( outfile, " %d,\n", Base );
|
||||||
fprintf( outfile, " %d,\n", Limit - Base + 1 );
|
fprintf( outfile, " %d,\n", Limit - Base + 1 );
|
||||||
fprintf( outfile, " %d,\n", nb_names );
|
fprintf( outfile, " %d,\n", nb_names );
|
||||||
|
|
Loading…
Reference in a new issue