mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 09:11:23 +00:00
Fix htons
svn path=/trunk/; revision=13964
This commit is contained in:
parent
653d79d129
commit
17f773cb7d
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ typedef struct {
|
||||||
} TDIEntityInfo;
|
} TDIEntityInfo;
|
||||||
|
|
||||||
#ifndef htons
|
#ifndef htons
|
||||||
#define htons(x) (((x) << 16) | (((x) >> 8) & 0xff))
|
#define htons(x) (((x) << 8) | (((x) >> 8) & 0xff))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Global variable */
|
/* Global variable */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue