diff options
Diffstat (limited to 'llimits.h')
-rw-r--r-- | llimits.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |