On 28/02/18 08:07, Daniel Wagner wrote:
Though these in-file ifdefs are not okay. Create a new file, e.g.
nostats.c, which contains the empty implementation of the functions. And
then include according the configuration either the stats.c or nostats.c
into the build.
See how this has been done for WISPR.
gweb_sources += gweb/giognutls.h gweb/giognutls.c
gweb_sources += gweb/giognutls.h gweb/gionotls.c
Okay, updated patch coming up.