Add preprocessor tags to presentationMode functions