/[svn]/hopm/trunk/src/compat.h
ViewVC logotype

Contents of /hopm/trunk/src/compat.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5135 - (show annotations)
Thu Dec 25 18:51:51 2014 UTC (4 years, 7 months ago) by michael
File MIME type: text/x-csrc
File size: 491 byte(s)
- propset svn:eol-style native

1 #ifndef COMPAT_H
2 #define COMPAT_H
3
4 #ifndef INADDR_NONE
5 #define INADDR_NONE 0xffffffff
6 #endif
7
8 #ifndef HAVE_INET_ATON
9 #undef inet_aton
10 #define inet_aton bopm_inet_aton
11 extern int bopm_inet_aton(const char *cp, struct in_addr *inp);
12 #endif
13
14 #ifndef HAVE_INET_PTON
15 #undef inet_pton
16 #define inet_pton bopm_inet_pton
17 #endif
18
19 #ifndef HAVE_STRLCPY
20 extern size_t strlcpy(char *, const char *, size_t);
21 #endif
22
23 #ifndef HAVE_STRLCAT
24 extern size_t strlcat(char *, const char *, size_t);
25 #endif
26
27 #endif

Properties

Name Value
svn:eol-style native
svn:keywords Id

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26