浏览代码

[tests] add macro test for SOCKET_ERROR

Yuxiao Mao 1 月之前
父节点
当前提交
6352d47aba
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      other/tests/header_macro_clashes/check.h

+ 3 - 0
other/tests/header_macro_clashes/check.h

@@ -112,3 +112,6 @@
 #ifdef __valid
 #error "__valid is defined"
 #endif
+#ifdef SOCKET_ERROR
+#error "SOCKET_ERROR is defined"
+#endif