Reduce the amount of file I/O from debug_print
commit51e51b47ccc08d7a97b661b66baa8d37cfde5440
authorJonathan Boeing <jonathan@claws-mail.org>
Wed, 4 Aug 2021 09:07:55 +0000 (4 02:07 -0700)
committerJonathan Boeing <jonathan@claws-mail.org>
Sat, 7 Aug 2021 23:40:56 +0000 (7 16:40 -0700)
tree7931b6a1c8eeae215794b4306a9f19c64dcdfcb1
parentbfa14488c667993aa619ccb2dbc98e14e108ec9a
Reduce the amount of file I/O from debug_print

Calls to debug_print on Windows generated two file writes and flushes
per call.

Add a definition of debug_print that uses the __VA_OPT__ macro to
expand to a single call to debug_print_real.
configure.ac
src/common/utils.c
src/common/utils.h