ソースを参照

Fix tcp_server_utils_posix_common

Yuchen Zeng 8 年 前
コミット
b129095618
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/core/lib/iomgr/tcp_server_utils_posix_common.c

+ 2 - 2
src/core/lib/iomgr/tcp_server_utils_posix_common.c

@@ -33,7 +33,7 @@
 
 #include "src/core/lib/iomgr/port.h"
 
-#ifdef GRPC_HAVE_IFADDRS
+#ifdef GRPC_POSIX_SOCKET
 
 #include "src/core/lib/iomgr/tcp_server_utils_posix.h"
 
@@ -218,4 +218,4 @@ error:
   return ret;
 }
 
-#endif /* GRPC_HAVE_IFADDRS */
+#endif /* GRPC_POSIX_SOCKET */