git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e04a390) | patch
Use an unsigned char for bool if we don't use the native bool.
2019年2月20日 21:31:02 +0000 (21:31 +0000)
2019年2月20日 21:31:02 +0000 (21:31 +0000)
commit d26a810ebf9e419556a60bdc0a4190883c38f4c4
Use an unsigned char for bool if we don't use the native bool.

On (rare) platforms where sizeof(bool) > 1, we need to use our own
bool, but imported c99 code (such as Ryu) may want to use bool values
as array subscripts, which elicits warnings if bool is defined as
char. Using unsigned char instead should work just as well for our
purposes, and avoid such warnings.

Per buildfarm members prariedog and locust.
src/include/c.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /