Move defines to asmsx.h
Disable Secure CRT deprecation warnings

#define _CRT_SECURE_NO_WARNINGS