summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index dc12c355..48320174 100644
--- a/lib.h
+++ b/lib.h
@@ -154,7 +154,11 @@ struct string {
obj_common;
wchar_t *str;
val len;
- val alloc;
+#if HAVE_MALLOC_USABLE_SIZE
+ ucnum hash;
+#else
+ cnum alloc;
+#endif
};
typedef struct {