diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-03 15:41:58 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-03 15:41:58 +0000 |
| commit | 62e1cbd0c03839e0623da962feee356cb9b633d9 (patch) | |
| tree | 86913021da024f0b4f651fdb093f9d906b26a720 /src/getaddrinfo.h | |
| parent | 55552adb9350d698a762cf40615f9b943a6580df (diff) | |
2008-03-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Merged Ross's mingw patch.
* src/DHTRoutingTableDeserializer.cc
* src/DHTRoutingTableSerializer.cc
* src/Platform.{h, cc}
* src/timegm.h
* src/gettimeofday.h
* src/getaddrinfo.h
* src/SocketCore.h
* src/common.h
* src/inet_aton.h
* src/DownloadEngine.h
* src/gai_strerror.h
* src/a2netcompat.h
* configure.ac
* configure
* aclocal.m4
Diffstat (limited to 'src/getaddrinfo.h')
| -rw-r--r-- | src/getaddrinfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/getaddrinfo.h b/src/getaddrinfo.h index 12a2eee5..5a48c8e8 100644 --- a/src/getaddrinfo.h +++ b/src/getaddrinfo.h @@ -33,6 +33,10 @@ extern "C" { #endif /* __cplusplus */ +#ifdef __MINGW32__ +# undef SIZE_MAX +#endif // __MINGW32__ + #ifdef HAVE_CONFIG_H # include "config.h" #endif // HAVE_CONFIG_H |
