Переглянути джерело

* Fix make_dllmangledname: Use computed dllprefix instead of dllname

git-svn-id: trunk@17879 -
pierre 14 роки тому
батько
коміт
63f38e6c03
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      compiler/symdef.pas

+ 2 - 2
compiler/symdef.pas

@@ -972,9 +972,9 @@ implementation
               dllprefix:='_$dll$'+dllprefix+'$';
 
             if importname<>'' then
-              result:=dllname+importname
+              result:=dllprefix+importname
             else
-              result:=dllname+'_index_'+tostr(import_nr);
+              result:=dllprefix+'_index_'+tostr(import_nr);
             { Replace ? and @ in import name, since GNU AS does not allow these characters in symbol names. }
             { This allows to import VC++ mangled names from DLLs. }
             { Do not perform replacement, if external symbol is not imported from DLL. }