Browse Source

[tests] add macro test for SOCKET_ERROR

Yuxiao Mao 1 month ago
parent
commit
6352d47aba
1 changed files with 3 additions and 0 deletions
  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