Browse Source

+ use the new CC_OmfExtension_EXPDEF constant instead of the direct magic value
when writing export libraries

git-svn-id: trunk@42233 -

nickysn 6 years ago
parent
commit
4f3a5cfd1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/systems/t_win16.pas

+ 1 - 1
compiler/systems/t_win16.pas

@@ -206,7 +206,7 @@ begin
         end
       else
         internal_name:=hp.name^;
-      DllExport_COMENT.CommentString:=#2+Chr(expflag)+Chr(Length(hp.name^))+hp.name^+Chr(Length(internal_name))+internal_name;
+      DllExport_COMENT.CommentString:=Chr(CC_OmfExtension_EXPDEF)+Chr(expflag)+Chr(Length(hp.name^))+hp.name^+Chr(Length(internal_name))+internal_name;
       if eo_index in hp.options then
         DllExport_COMENT.CommentString:=DllExport_COMENT.CommentString+Chr(Byte(hp.index))+Chr(Byte(hp.index shr 8));
       DllExport_COMENT.EncodeTo(RawRecord);