]> wimlib.net Git - wimlib/blobdiff - include/wimlib/util.h
Improve handling of invalid filenames
[wimlib] / include / wimlib / util.h
index eedb8b0d57451a50de511df41d5814f2864fec02..889a3f56c70559c6ba6edb4545328aacb0b64521 100644 (file)
@@ -122,4 +122,10 @@ hash_u64(u64 n)
        return n * 0x9e37fffffffc0001ULL;
 }
 
        return n * 0x9e37fffffffc0001ULL;
 }
 
+#ifdef __WIN32__
+#  define OS_PREFERRED_PATH_SEPARATOR L'\\'
+#else
+#  define OS_PREFERRED_PATH_SEPARATOR '/'
+#endif
+
 #endif /* _WIMLIB_UTIL_H */
 #endif /* _WIMLIB_UTIL_H */