Browse Source

Add src/win to include path for win32/win64 targets

Pierre Muller 1 year ago
parent
commit
b30b01a212
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/rtl-objpas/fpmake.pp

+ 1 - 0
packages/rtl-objpas/fpmake.pp

@@ -60,6 +60,7 @@ begin
     P.IncludePath.Add('src/inc');
     P.IncludePath.Add('src/inc');
     P.IncludePath.Add('src/$(OS)');
     P.IncludePath.Add('src/$(OS)');
     P.IncludePath.Add('src/$(CPU)');
     P.IncludePath.Add('src/$(CPU)');
+    P.IncludePath.Add('src/win',[win32,win64]);
 
 
     T:=P.Targets.AddUnit('system.uitypes.pp',uitypesOses);
     T:=P.Targets.AddUnit('system.uitypes.pp',uitypesOses);
     T:=P.Targets.AddUnit('system.uiconsts.pp',uitypesOses);
     T:=P.Targets.AddUnit('system.uiconsts.pp',uitypesOses);