Last change
on this file since 23701 was 23701, checked in by sjm84, 13 years ago |
A few more fixes for 64-bit mgpp
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
413 bytes
|
Line | |
---|
1 | /* This module provides an equivalent of <netinet/in.h> on */
|
---|
2 | /* unix systems. */
|
---|
3 | #ifdef __WIN32__
|
---|
4 | #define _LITTLE_ENDIAN
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #include "longlong.h"
|
---|
8 | #include "mglong.h"
|
---|
9 | #ifdef __cplusplus
|
---|
10 | extern "C" {
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | mg_u_long htonl(mg_u_long x);
|
---|
14 | mg_u_long ntohl(mg_u_long x);
|
---|
15 | mg_ullong ntohll(mg_ullong x);
|
---|
16 | unsigned short htons(unsigned short x);
|
---|
17 | unsigned short ntohs(unsigned short x);
|
---|
18 |
|
---|
19 | #ifdef __cplusplus
|
---|
20 | }
|
---|
21 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.