Browse Source

2008-07-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

	Supplied missing EAI_SYSTEM. Thanks ggknauf for the patch.
	* src/gai_strerror.h
Tatsuhiro Tsujikawa 17 năm trước cách đây
mục cha
commit
b5d93cd0da
2 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 5 0
      ChangeLog
  2. 4 0
      src/gai_strerror.h

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2008-07-13  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
+
+	Supplied missing EAI_SYSTEM. Thanks ggknauf for the patch.
+	* src/gai_strerror.h
+	
 2008-07-13  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 
 	Fixed compile error. Thanks gknauf for the patch.

+ 4 - 0
src/gai_strerror.h

@@ -37,6 +37,10 @@ extern "C" {
 # undef SIZE_MAX
 #endif // __MINGW32__
 
+#ifndef EAI_SYSTEM
+# define EAI_SYSTEM       -11   /* System error returned in `errno'.  */
+#endif
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif // HAVE_CONFIG_H