From 117f9f9713a7d55fdba5b0b3dc03edc80e766025 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Wed, 13 Oct 1999 16:00:18 +0000 Subject: [PATCH] Added filename to 32 bit builtin module descriptors. --- include/builtin32.h | 1 + tools/build.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/builtin32.h b/include/builtin32.h index 4edb4857da3..87197567f9f 100644 --- a/include/builtin32.h +++ b/include/builtin32.h @@ -12,6 +12,7 @@ typedef void (*ENTRYPOINT32)(); typedef struct { const char *name; /* DLL name */ + const char* filename; /* DLL file name */ int base; /* Ordinal base */ int nb_funcs; /* Number of functions */ int nb_names; /* Number of function names */ diff --git a/tools/build.c b/tools/build.c index 30759e22fe8..65e710646bb 100644 --- a/tools/build.c +++ b/tools/build.c @@ -1222,6 +1222,7 @@ static int BuildSpec32File( char * specfile, FILE *outfile ) fprintf( outfile, "const BUILTIN32_DESCRIPTOR %s_Descriptor =\n{\n", DLLName ); fprintf( outfile, " \"%s\",\n", DLLName ); + fprintf( outfile, " \"%s\",\n", DLLFileName ); fprintf( outfile, " %d,\n", Base ); fprintf( outfile, " %d,\n", Limit - Base + 1 ); fprintf( outfile, " %d,\n", nb_names );