3 #include <msvcrt/stdlib.h>
4 #include <msvcrt/string.h>
10 void _wmakepath(wchar_t* path, const wchar_t* drive, const wchar_t* dir, const wchar_t* fname, const wchar_t* ext)
14 if ((drive != NULL) && (*drive)) {
24 dir_len = wcslen(dir);
25 if (dir_len && *(dir + dir_len - 1) != L'\\')
31 if (ext != NULL && *ext != 0) {