stdio: Update to use compiler for Kconfig checks
authorSimon Glass <sjg@chromium.org>
Tue, 11 Aug 2020 17:23:39 +0000 (11:23 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 23 Aug 2020 17:43:10 +0000 (13:43 -0400)
commit5d4b6b17488575e7d81229454f53bea9300d1adb
treecebe49a19bce2495b43a1215ea0e8b896055d212
parent3bcd0ced15ca5234ad217ac20fb0ebe55a2995bb
stdio: Update to use compiler for Kconfig checks

Drop use of the preprocessor where possible.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/stdio.c