diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-03-16 03:22:04 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2001-03-16 03:22:04 +0000 |
commit | 9b94b9cdc6287e024edb4d1fb6892b0fadcd6473 (patch) | |
tree | 9e3e766f123f4668c0ea95a44d15b1316e3ce892 | |
parent | bd599666e57ecefe186b09b18e6c37090db359d4 (diff) | |
download | libapr-9b94b9cdc6287e024edb4d1fb6892b0fadcd6473.tar.gz |
build inet_pton.c on Win32
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61365 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | apr.dsp | 4 | ||||
-rw-r--r-- | libapr.dsp | 4 | ||||
-rw-r--r-- | network_io/unix/inet_pton.c | 4 |
3 files changed, 12 insertions, 0 deletions
@@ -267,6 +267,10 @@ SOURCE=.\network_io\unix\inet_ntop.c # End Source File # Begin Source File +SOURCE=.\network_io\unix\inet_pton.c +# End Source File +# Begin Source File + SOURCE=.\include\arch\win32\networkio.h # End Source File # Begin Source File diff --git a/libapr.dsp b/libapr.dsp index be61aca05..2ddf3e73f 100644 --- a/libapr.dsp +++ b/libapr.dsp @@ -272,6 +272,10 @@ SOURCE=.\network_io\unix\inet_ntop.c # End Source File # Begin Source File +SOURCE=.\network_io\unix\inet_pton.c +# End Source File +# Begin Source File + SOURCE=.\include\arch\win32\networkio.h # End Source File # Begin Source File diff --git a/network_io/unix/inet_pton.c b/network_io/unix/inet_pton.c index 4a7613307..9524e87cd 100644 --- a/network_io/unix/inet_pton.c +++ b/network_io/unix/inet_pton.c @@ -48,6 +48,10 @@ #define __P(x) x #endif +#if !defined(EAFNOSUPPORT) && defined(WSAEAFNOSUPPORT) +#define EAFNOSUPPORT WSAEAFNOSUPPORT +#endif + /* * WARNING: Don't even consider trying to compile this on a system where * sizeof(int) < 4. sizeof(int) > 4 is fine; all the world's not a VAX. |