source: main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/mgpp/lib/win32in.h@ 23701

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
10extern "C" {
11#endif
12
13mg_u_long htonl(mg_u_long x);
14mg_u_long ntohl(mg_u_long x);
15mg_ullong ntohll(mg_ullong x);
16unsigned short htons(unsigned short x);
17unsigned short ntohs(unsigned short x);
18
19#ifdef __cplusplus
20}
21#endif
Note: See TracBrowser for help on using the repository browser.