summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stc/carc.h2
-rw-r--r--include/stc/cbox.h2
-rw-r--r--include/stc/ccommon.h1
-rw-r--r--include/stc/template.h3
4 files changed, 2 insertions, 6 deletions
diff --git a/include/stc/carc.h b/include/stc/carc.h
index 4b9cc875..cbe2e9e7 100644
--- a/include/stc/carc.h
+++ b/include/stc/carc.h
@@ -81,7 +81,7 @@ int main() {
#if !(defined i_cmp || defined i_less || defined i_key_class || defined i_val_class)
#define _i_no_cmp
#endif
-#if !(defined i_eq || defined i_hash || defined i_key_class || defined i_val_class)
+#if !(defined i_eq || defined i_hash)
#define _i_no_hash
#endif
#include "template.h"
diff --git a/include/stc/cbox.h b/include/stc/cbox.h
index 651abf4b..fbd19c50 100644
--- a/include/stc/cbox.h
+++ b/include/stc/cbox.h
@@ -73,7 +73,7 @@ int main() {
#if !(defined i_cmp || defined i_less || defined i_key_class || defined i_val_class)
#define _i_no_cmp
#endif
-#if !(defined i_eq || defined i_hash || defined i_key_class || defined i_val_class)
+#if !(defined i_eq || defined i_hash)
#define _i_no_hash
#endif
#include "template.h"
diff --git a/include/stc/ccommon.h b/include/stc/ccommon.h
index 5ecb42f8..52c05693 100644
--- a/include/stc/ccommon.h
+++ b/include/stc/ccommon.h
@@ -111,7 +111,6 @@
#define c_no_atomic (1<<1)
#define c_no_clone (1<<2)
#define c_no_cmp (1<<3)
-#define c_no_hash (1<<4)
/* Generic algorithms */
diff --git a/include/stc/template.h b/include/stc/template.h
index 4e954b46..769c07c9 100644
--- a/include/stc/template.h
+++ b/include/stc/template.h
@@ -163,9 +163,6 @@
#if c_option(c_no_cmp)
#define _i_no_cmp
#endif
-#if c_option(c_no_hash)
- #define _i_no_hash
-#endif
#if c_option(c_no_clone) || (!defined i_keyclone && (defined i_keydrop || defined i_keyraw))
#define _i_no_clone
#endif