lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo fix
[lcore.git]
/
lcorelocalips.pas
diff --git
a/lcorelocalips.pas
b/lcorelocalips.pas
index aafddf727547739fa7b63312ee5c82f896c07816..d2750129f343906eee9231f4082c5a9c965f2e6f 100644
(file)
--- a/
lcorelocalips.pas
+++ b/
lcorelocalips.pas
@@
-51,7
+51,7
@@
function getv6localips:tbiniplist;
\r
function getsystemdnsservers:tbiniplist;
\r
\r
\r
function getsystemdnsservers:tbiniplist;
\r
\r
-{$ifdef
win32
}
\r
+{$ifdef
mswindows
}
\r
function gethostname:ansistring;
\r
{$endif}
\r
\r
function gethostname:ansistring;
\r
{$endif}
\r
\r
@@
-284,7
+284,7
@@
end;
\r
\r
\r
\r
\r
\r
-{$ifdef
win32
}
\r
+{$ifdef
mswindows
}
\r
const
\r
MAX_HOSTNAME_LEN = 132;
\r
MAX_DOMAIN_NAME_LEN = 132;
\r
const
\r
MAX_HOSTNAME_LEN = 132;
\r
MAX_DOMAIN_NAME_LEN = 132;
\r
@@
-350,7
+350,7
@@
end;
\r
function getsystemdnsservers:tbiniplist;
\r
var
\r
\r
function getsystemdnsservers:tbiniplist;
\r
var
\r
- {$ifdef
win32
}
\r
+ {$ifdef
mswindows
}
\r
fixed_info : pfixed_info;
\r
currentdnsserver : pip_addr_string;
\r
{$else}
\r
fixed_info : pfixed_info;
\r
currentdnsserver : pip_addr_string;
\r
{$else}
\r
@@
-364,7
+364,7
@@
begin
\r
result := biniplist_new;
\r
\r
\r
result := biniplist_new;
\r
\r
- {$ifdef
win32
}
\r
+ {$ifdef
mswindows
}
\r
fixed_info := callgetnetworkparams;
\r
if fixed_info = nil then exit;
\r
\r
fixed_info := callgetnetworkparams;
\r
if fixed_info = nil then exit;
\r
\r
@@
-400,7
+400,7
@@
begin
{$endif}
\r
end;
\r
\r
{$endif}
\r
end;
\r
\r
-{$ifdef
win32
}
\r
+{$ifdef
mswindows
}
\r
function gethostname:ansistring;
\r
var
\r
fixed_info : pfixed_info;
\r
function gethostname:ansistring;
\r
var
\r
fixed_info : pfixed_info;
\r