1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

Rename BITSPERBYTE to BITS_PER_BYTE to avoid conflict with <values.h>

on some platforms.
This commit is contained in:
Tom Lane
2000-08-26 21:53:44 +00:00
parent 662f6a557c
commit d70bf0dd35
7 changed files with 44 additions and 44 deletions

View File

@@ -3116,10 +3116,10 @@ Bit: bit '(' Iconst ')'
sprintf(errortext,"length for type '%s' must be at least 1",$1);
mmerror(ET_ERROR, errortext);
}
else if (atol($3) > (MaxAttrSize * BITSPERBYTE))
else if (atol($3) > (MaxAttrSize * BITS_PER_BYTE))
{
sprintf(errortext, "length for type '%s' cannot exceed %d", $1,
(MaxAttrSize * BITSPERBYTE));
(MaxAttrSize * BITS_PER_BYTE));
mmerror(ET_ERROR, errortext);
}
}