summaryrefslogtreecommitdiff
path: root/ares_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares_rules.h')
-rw-r--r--ares_rules.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/ares_rules.h b/ares_rules.h
index 44f08f8..e617fdc 100644
--- a/ares_rules.h
+++ b/ares_rules.h
@@ -73,11 +73,6 @@
Error Compilation_aborted_CARES_TYPEOF_ARES_SOCKLEN_T_is_missing
#endif
-#ifndef CARES_SIZEOF_ARES_SOCKLEN_T
-# error "CARES_SIZEOF_ARES_SOCKLEN_T definition is missing!"
- Error Compilation_aborted_CARES_SIZEOF_ARES_SOCKLEN_T_is_missing
-#endif
-
/*
* Macros private to this header file.
*/
@@ -94,7 +89,7 @@
typedef char
__cares_rule_02__
- [CareschkszEQ(ares_socklen_t, CARES_SIZEOF_ARES_SOCKLEN_T)];
+ [CareschkszEQ(ares_socklen_t, sizeof(CARES_TYPEOF_ARES_SOCKLEN_T))];
/*
* Verify at compile time that the size of ares_socklen_t as reported