summaryrefslogtreecommitdiff
path: root/src/inc/optdefault.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc/optdefault.h')
-rw-r--r--src/inc/optdefault.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/inc/optdefault.h b/src/inc/optdefault.h
new file mode 100644
index 0000000000..3af8a331a8
--- /dev/null
+++ b/src/inc/optdefault.h
@@ -0,0 +1,13 @@
+//
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+//
+
+//
+// Revert optimizations back to default
+//
+#undef FPO_ON
+
+#ifdef _MSC_VER
+#pragma optimize("",on)
+#endif