diff options
author | Eduardo Bart <edub4rt@gmail.com> | 2012-11-07 16:10:57 -0200 |
---|---|---|
committer | Eduardo Bart <edub4rt@gmail.com> | 2012-11-07 16:15:09 -0200 |
commit | 345eef23741b98636ab7ac3b1a12fa5178d5912b (patch) | |
tree | 489bcfa38bf8d4365d5dc8c77ca8acecbe739a7b /src/unix | |
parent | d1a69d0fff03dcd4326adb63aee6464be0cad83f (diff) | |
download | libgit2-345eef23741b98636ab7ac3b1a12fa5178d5912b.tar.gz |
Move inet_pton to posix platform-compatibility layer
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/posix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h index bcd800301..f6f2e2353 100644 --- a/src/unix/posix.h +++ b/src/unix/posix.h @@ -21,5 +21,6 @@ #define p_snprintf(b, c, f, ...) snprintf(b, c, f, __VA_ARGS__) #define p_mkstemp(p) mkstemp(p) #define p_setenv(n,v,o) setenv(n,v,o) +#define p_inet_pton(a, b, c) inet_pton(a, b, c) #endif |