Selaa lähdekoodia

2008-06-16 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

	Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
	only a2netcompat.h is modified.
	* src/a2netcompat.h: Removed unused getaddrinfo related #define
	directives.
Tatsuhiro Tsujikawa 17 vuotta sitten
vanhempi
commit
d9c17fd34d
2 muutettua tiedostoa jossa 7 lisäystä ja 21 poistoa
  1. 7 0
      ChangeLog
  2. 0 21
      src/a2netcompat.h

+ 7 - 0
ChangeLog

@@ -1,3 +1,10 @@
+2008-06-16  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,
+	only a2netcompat.h is modified.
+	* src/a2netcompat.h: Removed unused getaddrinfo related #define
+	directives.
+	
 2008-06-16  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 	Applied Ross's aria2-0.13.2+1-mingw-4.patch. In this commit,

+ 0 - 21
src/a2netcompat.h

@@ -91,25 +91,4 @@
 # include "gai_strerror.h"
 #endif // HAVE_GAI_STRERROR
 
-#ifdef __MINGW32__
-# ifndef AI_PASSIVE
-#  define AI_PASSIVE	0x0020
-# endif // AI_PASSIVE
-# ifndef AI_NUMERICHOST
-#  define AI_NUMERICHOST	0x0008
-# endif // AI_NUMERICHOST
-# ifndef NI_NUMERICHOST
-#  define NI_NUMERICHOST	0x0008
-# endif // NI_NUMERICHOST
-# ifndef NI_NUMERICSERV
-#  define NI_NUMERICSERV	0x0020
-# endif // NI_NUMERICSERV
-# ifndef NI_MAXHOST
-#  define NI_MAXHOST	1025
-# endif // NI_MAXHOST
-# ifndef NI_MAXSERV
-#  define NI_MAXSERV	32
-# endif // NI_MAXSERV
-#endif // __MINGW32__
-
 #endif // _D_A2NETCOMPAT_H_