Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
authorEduardo Bart <edub4rt@gmail.com>2012-11-07 22:10:57 +0400
committerEduardo Bart <edub4rt@gmail.com>2012-11-07 22:15:09 +0400
commit345eef23741b98636ab7ac3b1a12fa5178d5912b (patch)
tree489bcfa38bf8d4365d5dc8c77ca8acecbe739a7b /src/unix
parentd1a69d0fff03dcd4326adb63aee6464be0cad83f (diff)
Move inet_pton to posix platform-compatibility layer
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/posix.h1
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