Re: [Spice-devel] [spice-common v2] log: Define G_LOG_DOMAIN as early as possible

2017-07-07 Thread Frediano Ziglio
> > "log: Forbid the usage of obsolete SPICE_LOG_DOMAIN" introduced a small > regression, if G_LOG_DOMAIN is not set when glib.h is included, the > header will set it to a default value. Redefining it later in log.c is > going to cause a compile-time warning. > This commit adds the definition to S

[Spice-devel] [spice-common v2] log: Define G_LOG_DOMAIN as early as possible

2017-07-07 Thread Christophe Fergeau
"log: Forbid the usage of obsolete SPICE_LOG_DOMAIN" introduced a small regression, if G_LOG_DOMAIN is not set when glib.h is included, the header will set it to a default value. Redefining it later in log.c is going to cause a compile-time warning. This commit adds the definition to SPICE_COMMON_C