summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cbox.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-10-20 18:55:01 +0200
committerTyge Løvset <[email protected]>2022-10-20 18:55:01 +0200
commitb40ca18d43d31f997f64de6168ada58c7dfad9b9 (patch)
treed9fc575becaa8ad3d401058adb011818842fb50e /include/stc/cbox.h
parent14f67d1936fa76be436eaaee739861268ca534f7 (diff)
downloadSTC-modified-b40ca18d43d31f997f64de6168ada58c7dfad9b9.tar.gz
STC-modified-b40ca18d43d31f997f64de6168ada58c7dfad9b9.zip
Fixed some inconsistencies, and a minor bug in cmap.
Diffstat (limited to 'include/stc/cbox.h')
-rw-r--r--include/stc/cbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/cbox.h b/include/stc/cbox.h
index 62bb506a..f31c5feb 100644
--- a/include/stc/cbox.h
+++ b/include/stc/cbox.h
@@ -70,10 +70,10 @@ int main() {
#ifndef _i_prefix
#define _i_prefix cbox_
#endif
-#if !(defined i_cmp || defined i_less)
+#if !(defined i_cmp || defined i_less || defined i_val_class)
#define _i_no_cmp
#endif
-#if !(defined i_eq || defined i_hash)
+#if !(defined i_eq || defined i_hash || defined i_val_class)
#define _i_no_hash
#endif
#include "template.h"