firebuild / firebuild

Automatic build accelerator cache for Linux
https://firebuild.com
Other
119 stars 4 forks source link

Code style: bool, true, false #223

Closed egmontkob-work closed 2 years ago

egmontkob-work commented 4 years ago

Even in plain C, let's use bool, true, false where that's the meaning.

#include <stdbool.h> seems to be the official way to define them.

rbalint commented 3 years ago

+1

rbalint commented 2 years ago

IMO this is already implemented in current master (aa37802).

rbalint@yogi:~/projects/firebuild$ git grep FALSE
rbalint@yogi:~/projects/firebuild$ git grep TRUE
cmake/modules/FindLibConfig.cmake:    SET(LIBCONFIG_FOUND TRUE)
cmake/modules/FindLibConfig.cmake:    SET(LIBCONFIGPP_FOUND TRUE)