Fix htons

svn path=/trunk/; revision=13964
This commit is contained in:
Gé van Geldorp 2005-03-12 09:21:59 +00:00
parent 653d79d129
commit 17f773cb7d

View file

@ -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 */