aboutsummaryrefslogtreecommitdiff
path: root/llimits.h
diff options
context:
space:
mode:
Diffstat (limited to 'llimits.h')
-rw-r--r--llimits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llimits.h b/llimits.h
index 3df873db..cc983972 100644
--- a/llimits.h
+++ b/llimits.h
@@ -65,6 +65,10 @@ typedef signed char ls_byte;
65#define ispow2(x) (((x) & ((x) - 1)) == 0) 65#define ispow2(x) (((x) & ((x) - 1)) == 0)
66 66
67 67
68/* number of chars of a literal string without the ending \0 */
69#define LL(x) (sizeof(x)/sizeof(char) - 1)
70
71
68/* 72/*
69** conversion of pointer to unsigned integer: 73** conversion of pointer to unsigned integer:
70** this is for hashing only; there is no problem if the integer 74** this is for hashing only; there is no problem if the integer