Re: [LEDE-DEV] [PATCH] procd: fix build when DEBUG is set

2016-10-13 Thread Felix Fietkau
On 2016-10-13 16:39, Zefir Kurtisi wrote: > There is a collision between the DEBUG set in the CMake file as > flag and the macro defined in log.h, resulting in build error: > > In file included from ./procd/initd/init.h:19:0, > from ./procd/initd/init.c:33: > ./procd/initd/../log.

[LEDE-DEV] [PATCH] procd: fix build when DEBUG is set

2016-10-13 Thread Zefir Kurtisi
There is a collision between the DEBUG set in the CMake file as flag and the macro defined in log.h, resulting in build error: In file included from ./procd/initd/init.h:19:0, from ./procd/initd/init.c:33: ./procd/initd/../log.h:20:0: error: "DEBUG" redefined [-Werror] #define DE