bitcoin core – Macro HAVE_DECL_FORK

0
18


I’m a new learner of bitcoin project. I’m aware that the macros in header file config/bitcoin-config.h and whole file itself were generated by autoconf. Looked into configure.ac, regarding to fork symbol, I only see only one check AC_CHECK_DECLS([fork]), i.e., I cannot find where symbol fork is defined, but in bitcoin-config.h value of macro HAVE_DECL_FORK is 1. This is true for some other symbols.
Could anyone help to explain that?

https://github.com/bitcoin/bitcoin/blob/master/configure.ac



Source link

Leave a reply