Use #define to control exception support.