mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 06:12:38 +02:00
fixed win32 include file search
git-svn-id: trunk@4743 -
This commit is contained in:
parent
c03345925a
commit
83528f4e25
@ -2384,7 +2384,7 @@ begin
|
||||
while PathEnd<=length(IncludePath) do begin
|
||||
if ((Pos(IncludePath[PathEnd],PathDivider))>0)
|
||||
{$IFDEF win32}
|
||||
and (not ((PathEnd-PathStart=2) // ignore colon in drive
|
||||
and (not ((PathEnd-PathStart=1) // ignore colon in drive
|
||||
and (IncludePath[PathEnd]=':')
|
||||
and (IsWordChar[IncludePath[PathEnd-1]])))
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user