make formatting on .c and .h file more consistent.  combine 2 #ifdef statements into one #if define() || define() statement