Changeset 2710 for trunk/gsdl
- Timestamp:
- 2001-08-22T14:38:08+12:00 (23 years ago)
- Location:
- trunk/gsdl/src/mgpp/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/mgpp/lib/WIN32.MAK
r2556 r2710 84 84 xmalloc$o bitio_m_random$o bitio_m_abstract$o \ 85 85 random$o simplefrenchstem$o \ 86 unitool$o getopt_old$o86 unitool$o win32in$o getopt_old$o 87 87 88 88 all : libmg.lib -
trunk/gsdl/src/mgpp/lib/win32in.c
r2702 r2710 1 1 /* This module provides an equivalent of <netinet/in.h> on */ 2 2 /* unix systems. */ 3 #include "win32in.h" 3 4 4 5 unsigned long htonl(unsigned long x) { -
trunk/gsdl/src/mgpp/lib/win32in.h
r2468 r2710 1 1 /* This module provides an equivalent of <netinet/in.h> on */ 2 2 /* unix systems. */ 3 #ifdef __WIN32__ 4 #define _LITTLE_ENDIAN 5 #endif 3 6 4 7 #include "longlong.h" 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 5 11 6 12 unsigned long htonl(unsigned long x); … … 9 15 unsigned short htons(unsigned short x); 10 16 unsigned short ntohs(unsigned short x); 17 18 #ifdef __cplusplus 19 } 20 #endif
Note:
See TracChangeset
for help on using the changeset viewer.