Andrei Pelinescu-Onciul writes:
You should add it to the Makefile, e.g.: include ../../Makefile.defs
auto_gen= NAME=foo.so LIBS= DEFS+= -DSER_MOD_INTERFACE
include ../../Makefile.modules
how does the above work, it KAMAILIO_MOD_INTERFACE is defined by default? should it be first somehow undefined, because it is tested first in sr_module.h?
-- juha