ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/compat.h
(Generate patch)

Comparing hopm/trunk/src/compat.h (file contents):
Revision 5167 by michael, Fri Dec 26 18:58:49 2014 UTC vs.
Revision 5170 by michael, Fri Dec 26 20:53:09 2014 UTC

# Line 1 | Line 1
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
4   #ifndef HAVE_STRLCPY
5   extern size_t strlcpy(char *, const char *, size_t);
6   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)