[Profile] use portable macro /NFC

llvm-svn: 276019
This commit is contained in:
Xinliang David Li 2016-07-19 20:20:20 +00:00
parent a0c1f40815
commit d9689aff32
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ void __llvm_profile_recursive_mkdir(char *path) {
for (i = 1; path[i] != '\0'; ++i) {
char save = path[i];
if (!(path[i] == '/' || path[i] == '\\'))
if (!IS_DIR_SEPARATOR(path[i]))
continue;
path[i] = '\0';
#ifdef _WIN32