Преглед на файлове

* check that the PPU version of a unit loaded for package adjustment matches exactly (we don't accept different versions when loading PPUs normally, so why should we with packages?)

git-svn-id: trunk@37971 -
svenbarth преди 7 години
родител
ревизия
9eb5f07538
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      compiler/pkgutil.pas

+ 1 - 1
compiler/pkgutil.pas

@@ -287,7 +287,7 @@ implementation
          Exit;
        end;
       ppuversion:=inppu.getversion;
-      if ppuversion<CurrentPPUVersion then
+      if ppuversion<>CurrentPPUVersion then
        begin
          inppu.free;
          Comment(V_Error,'Wrong PPU Version '+tostr(ppuversion)+' in '+PPUFn);