aboutsummaryrefslogtreecommitdiff
path: root/src/utf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf.c')
-rw-r--r--src/utf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utf.c b/src/utf.c
index 7801306cb..4b04c9e28 100644
--- a/src/utf.c
+++ b/src/utf.c
@@ -332,7 +332,9 @@ translate_out:
#endif
return SQLITE_OK;
}
+#endif /* SQLITE_OMIT_UTF16 */
+#ifndef SQLITE_OMIT_UTF16
/*
** This routine checks for a byte-order mark at the beginning of the
** UTF-16 string stored in *pMem. If one is present, it is removed and