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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user