diff options
author | Xinliang David Li <davidxl@google.com> | 2016-07-19 20:20:20 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-07-19 20:20:20 +0000 |
commit | 81ebff1568c1a78be894f6409c8d26064b608806 (patch) | |
tree | 5a94aa1ca2f3f051e9c474d996c214c87b65df05 /lib/profile | |
parent | b6496a0286b7b7ae5b371871f1f8991df6d30b18 (diff) |
[Profile] use portable macro /NFC
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@276019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile')
-rw-r--r-- | lib/profile/InstrProfilingUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingUtil.c b/lib/profile/InstrProfilingUtil.c index 5c66933bc..a9c935087 100644 --- a/lib/profile/InstrProfilingUtil.c +++ b/lib/profile/InstrProfilingUtil.c @@ -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 |