X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fval.h;h=c4b96b1ae14a377e0a1700606518051ef8be8c80;hb=05e356b2a3087e819ef3b5388e29c822f41502e1;hp=c90cd19867f577ea2c2fa5fef9113135b243da4b;hpb=e976a0fa28771a625ba29b86cc5883838d0f1c70;p=pspp diff --git a/src/val.h b/src/val.h index c90cd19867..c4b96b1ae1 100644 --- a/src/val.h +++ b/src/val.h @@ -36,8 +36,8 @@ then short string missing values can be truncated in system files because there's only room for as many characters as can fit in a flt64. */ -#if MAX_SHORT_STRING > 8 -#error MAX_SHORT_STRING must be less than 8. +#if MAX_SHORT_STRING > SHORT_NAME_LEN +#error MAX_SHORT_STRING must be less than or equal to SHORT_NAME_LEN. #endif /* Special values. */ @@ -73,4 +73,5 @@ int compare_values (const union value *a, const union value *b, int width); unsigned hash_value(const union value *v, int width); + #endif /* !val_h */