aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/func.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/func.c b/src/func.c
index 36b0e5f37..fb999c9f9 100644
--- a/src/func.c
+++ b/src/func.c
@@ -1015,6 +1015,9 @@ static void tointegerFunc(
** toreal(X): If X can be losslessly converted into a real number, then
** do so and return that real number. Otherwise return NULL.
*/
+#if defined(_MSC_VER)
+#pragma optimize("", off)
+#endif
static void torealFunc(
sqlite3_context *context,
int argc,
@@ -1056,6 +1059,9 @@ static void torealFunc(
}
}
}
+#if defined(_MSC_VER)
+#pragma optimize("", on)
+#endif
/*
** The unicode() function. Return the integer unicode code-point value