Make sure dllname doesn't get optimized out (spotted by Marcus

Meissner).
This commit is contained in:
Alexandre Julliard 2003-08-02 00:45:34 +00:00
parent 8669193d11
commit e547e10be0
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ void BuildSpec32File( FILE *outfile )
fprintf( outfile, "}\n" );
fprintf( outfile, "#endif\n" );
fprintf( outfile, "static const char dllname[] = \"%s\";\n\n", dll_file_name );
fprintf( outfile, "const char dllname[] = \"%s\";\n\n", dll_file_name );
fprintf( outfile, "extern int __wine_spec_exports[];\n\n" );
#ifdef __i386__