소스 검색

Previous commit accidentaly didn't include a2netcompat.h.

Tatsuhiro Tsujikawa 17 년 전
부모
커밋
91e4a887c6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/a2netcompat.h

+ 2 - 2
src/a2netcompat.h

@@ -50,12 +50,12 @@
 #endif // !__CYGWIN__
 
 #ifdef __MINGW32__
-# define SOCKOPT_T const char
+# define SOCKOPT_T char
 # define HAVE_GETADDRINFO
 # undef HAVE_GAI_STRERROR
 # undef gai_strerror
 #else
-# define SOCKOPT_T socklen_t
+# define SOCKOPT_T int
 #endif // __MINGW32__
 
 #ifdef HAVE_NETDB_H