util.h: also sniff for C99 before trying to use stdbool.h (issue4605)
stdbool.h isn't required until C99. Sigh.
from mercurial import utildef makedate(): return 0, 0def getuser(): return 'bob'# mock the date and user apis so the output is always the samedef uisetup(ui): util.makedate = makedate util.getuser = getuser