comparison src/win32/libc_interface.h @ 5084:a96653493416

[gaim-migrate @ 5439] Fixed warnings (win32) committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Tue, 08 Apr 2003 18:36:50 +0000
parents 86037d6bf80f
children bac62d8d386f
comparison
equal deleted inserted replaced
5083:580c790bc042 5084:a96653493416
41 41
42 /* netdb.h */ 42 /* netdb.h */
43 extern struct hostent* wgaim_gethostbyname(const char *name); 43 extern struct hostent* wgaim_gethostbyname(const char *name);
44 #define gethostbyname( name ) \ 44 #define gethostbyname( name ) \
45 wgaim_gethostbyname( ## name ## ) 45 wgaim_gethostbyname( ## name ## )
46
47 /* netinet/in.h */
48 #define ntohl( netlong ) \
49 (unsigned int)ntohl( ## netlong ## )
46 50
47 /* string.h */ 51 /* string.h */
48 extern char* wgaim_strerror( int errornum ); 52 extern char* wgaim_strerror( int errornum );
49 #define hstrerror( herror ) \ 53 #define hstrerror( herror ) \
50 wgaim_strerror( errno ) 54 wgaim_strerror( errno )