summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index b51a687c6..fdc42d372 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -401,7 +401,7 @@ path_conv::set_normalized_path (const char *path_copy)
is affected as well, but we can't transform it as long as we accept Win32
paths as input.
The reverse functionality is in strfuncs.cc, function sys_cp_wcstombs. */
-WCHAR tfx_chars[] NO_COPY = {
+static const WCHAR tfx_chars[] = {
0, 0xf000 | 1, 0xf000 | 2, 0xf000 | 3,
0xf000 | 4, 0xf000 | 5, 0xf000 | 6, 0xf000 | 7,
0xf000 | 8, 0xf000 | 9, 0xf000 | 10, 0xf000 | 11,