lcore.org gitweb
/
lcore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed incorrect executable status from files
[lcore.git]
/
binipstuff.pas
diff --git
a/binipstuff.pas
b/binipstuff.pas
index 1f5fed4ecc62ff3ed505d4b39c2035c8a1ecb1a6..93363e2b28282d8068260164ebade1cb50cf5003 100644
(file)
--- a/
binipstuff.pas
+++ b/
binipstuff.pas
@@
-4,27
+4,28
@@
----------------------------------------------------------------------------- }
\r
unit binipstuff;
\r
\r
----------------------------------------------------------------------------- }
\r
unit binipstuff;
\r
\r
+{$ifdef fpc}
\r
+{$mode delphi}
\r
+{$endif}
\r
+
\r
interface
\r
\r
{$include lcoreconfig.inc}
\r
\r
uses
\r
interface
\r
\r
{$include lcoreconfig.inc}
\r
\r
uses
\r
-{$ifndef
win32
}
\r
+{$ifndef
mswindows
}
\r
sockets,
\r
{$endif}
\r
pgtypes;
\r
\r
sockets,
\r
{$endif}
\r
pgtypes;
\r
\r
-{$ifdef fpc}
\r
- {$mode delphi}
\r
-{$endif}
\r
-{$ifdef cpu386}{$define i386}{$endif}
\r
-{$ifdef i386}{$define ENDIAN_LITTLE}{$endif}
\r
+
\r
+{$include pgtypes.inc}
\r
\r
{$include uint32.inc}
\r
\r
const
\r
hexchars:array[0..15] of ansichar='0123456789abcdef';
\r
\r
{$include uint32.inc}
\r
\r
const
\r
hexchars:array[0..15] of ansichar='0123456789abcdef';
\r
- {$ifdef
win32
}
\r
+ {$ifdef
mswindows
}
\r
AF_INET=2;
\r
AF_INET6=23;
\r
{$else}
\r
AF_INET=2;
\r
AF_INET6=23;
\r
{$else}
\r
@@
-38,7
+39,7
@@
const
type
\r
{$ifdef ipv6}
\r
\r
type
\r
{$ifdef ipv6}
\r
\r
- {$ifdef
win32
}
\r
+ {$ifdef
mswindows
}
\r
{$define want_Tin6_addr}
\r
{$endif}
\r
{$ifdef ver1_0}
\r
{$define want_Tin6_addr}
\r
{$endif}
\r
{$ifdef ver1_0}
\r
@@
-69,7
+70,7
@@
type
{$endif}
\r
end;
\r
\r
{$endif}
\r
end;
\r
\r
- {$ifdef
win32
}
\r
+ {$ifdef
mswindows
}
\r
TInetSockAddr = packed Record
\r
family:Word;
\r
port :Word;
\r
TInetSockAddr = packed Record
\r
family:Word;
\r
port :Word;
\r