mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 02:34:53 +00:00
Fix htons
svn path=/trunk/; revision=13964
This commit is contained in:
parent
653d79d129
commit
17f773cb7d
|
@ -136,7 +136,7 @@ typedef struct {
|
|||
} TDIEntityInfo;
|
||||
|
||||
#ifndef htons
|
||||
#define htons(x) (((x) << 16) | (((x) >> 8) & 0xff))
|
||||
#define htons(x) (((x) << 8) | (((x) >> 8) & 0xff))
|
||||
#endif
|
||||
|
||||
/* Global variable */
|
||||
|
|
Loading…
Reference in a new issue