Update defs.h

added #defines for preprocessing