ソースを参照

Fix test builds

ncteisen 8 年 前
コミット
509aba4f60
1 ファイル変更8 行追加0 行削除
  1. 8 0
      src/core/lib/iomgr/is_epollexclusive_available.h

+ 8 - 0
src/core/lib/iomgr/is_epollexclusive_available.h

@@ -21,6 +21,14 @@
 
 #include <stdbool.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 bool grpc_is_epollexclusive_available(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* GRPC_CORE_LIB_IOMGR_IS_EPOLLEXCLUSIVE_AVAILABLE_H */