mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 20:30:29 +02:00
* inline problems fixed
This commit is contained in:
parent
3425ceaf85
commit
0624b9fa92
@ -203,7 +203,7 @@ function htons( host : word):word; {$ifndef VER1_0} inline; {$ENDIF}
|
||||
|
||||
begin
|
||||
{$ifdef FPC_BIG_ENDIAN}
|
||||
htonl:=host;
|
||||
htons:=host;
|
||||
{$else}
|
||||
htons:=swap(host);
|
||||
{$endif}
|
||||
@ -221,7 +221,10 @@ end;
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.12 2004-11-01 16:23:15 marco
|
||||
Revision 1.13 2004-11-01 17:29:47 marco
|
||||
* inline problems fixed
|
||||
|
||||
Revision 1.12 2004/11/01 16:23:15 marco
|
||||
* htons etc
|
||||
|
||||
Revision 1.11 2003/11/23 10:57:15 michael
|
||||
|
@ -12,6 +12,9 @@
|
||||
|
||||
**********************************************************************}
|
||||
|
||||
{$IFNDEF ver1_0}
|
||||
{$INLINE ON}
|
||||
[$ENDIF}
|
||||
|
||||
{$ifdef FreeBSD}
|
||||
{$DEFINE SOCK_HAS_SINLEN} // BSD definition of scoketaddr
|
||||
@ -191,7 +194,10 @@ Function NToHs (Net : word):word; {$ifndef ver1_0} inline; {$endif}
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.15 2004-11-01 16:23:15 marco
|
||||
Revision 1.16 2004-11-01 17:29:47 marco
|
||||
* inline problems fixed
|
||||
|
||||
Revision 1.15 2004/11/01 16:23:15 marco
|
||||
* htons etc
|
||||
|
||||
Revision 1.14 2004/03/16 19:15:57 marco
|
||||
|
Loading…
Reference in New Issue
Block a user