use _WIN32 in psx.h ifdef instead of _MSC_VER - should apply for both
MSVC and Mingw