/* This module provides an equivalent of on */ /* unix systems. */ #ifdef __WIN32__ #define _LITTLE_ENDIAN #endif #include "longlong.h" #ifdef __cplusplus extern "C" { #endif unsigned long htonl(unsigned long x); unsigned long ntohl(unsigned long x); mg_ullong ntohll(mg_ullong x); unsigned short htons(unsigned short x); unsigned short ntohs(unsigned short x); #ifdef __cplusplus } #endif