소스 검색

[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