summaryrefslogtreecommitdiff
path: root/source3/include/smb_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/smb_macros.h')
-rw-r--r--source3/include/smb_macros.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index 05a358573d..9978a0faa0 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -216,6 +216,7 @@ copy an IP address from one buffer to another
****************************************************************************/
#define unix_format(fname) string_replace(fname,'\\','/')
+#define unix_format_w(fname) string_replace_w(fname, UCS2_CHAR('\\'), UCS2_CHAR('/'))
/****************************************************************************
Make a file into DOS format.