Moved #defines to platform.h, small fixes
	modified:   common.c
	modified:   common.h
	modified:   platform.h