ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/compat.h
Revision: 5167
Committed: Fri Dec 26 18:58:49 2014 UTC (10 years, 8 months ago) by michael
Content type: text/x-chdr
File size: 410 byte(s)
Log Message:
- Removed inet_pton() compatibility code

File Contents

# Content
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_STRLCPY
15 extern size_t strlcpy(char *, const char *, size_t);
16 #endif
17
18 #ifndef HAVE_STRLCAT
19 extern size_t strlcat(char *, const char *, size_t);
20 #endif
21
22 #endif

Properties

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