Simply add a "-DX9" extension at the end of your target name.
Should look like....
Just right click on the desktop icon (works for both 32bit and 64bit), select properties, and next to "Target" add the "-DX9" extension. make sure there is a space between the address and the extension. And don't use brackets