--- a/src/backend/storage/ipc/waiteventset.c
+++ b/src/backend/storage/ipc/waiteventset.c
@@ -461,7 +461,7 @@
 	 * pending signals are serviced.
 	 */
 	set->handles[0] = pgwin32_signal_event;
-	StaticAssertStmt(WSA_INVALID_EVENT == NULL, "");
+	/*StaticAssertStmt(WSA_INVALID_EVENT == NULL, "");*/
 #endif
 
 	return set;
