diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-03-06 18:49:15 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-03-06 18:49:24 +0300 |
commit | ae6a5629a5fa83286bb56dccc7bc7f10e53810c8 (patch) | |
tree | 2ca49208f9712a2c7bc6373a590a3add918bc6d4 /source | |
parent | 68b6d0302a591ccba843533043632d4d0bc1b40b (diff) |
Fix build error on windows
```
Error C4013 '_VA_ELEM1' undefined; assuming extern returning int
```
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 688dc9fd729..4a1f2ac2a8f 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -478,7 +478,7 @@ static void BLI_path_unc_to_short(wchar_t *unc) * \\?\C:\ to C:\ and \\?\C:\folder\... to C:\folder\... */ if ((len > 3) && (unc[0] == L'\\') && (unc[1] == L'\\') && (unc[2] == L'?') && - ELEM((unc[3], L'\\', L'/'))) { + ELEM(unc[3], L'\\', L'/')) { if ((len > 5) && (unc[5] == L':')) { wcsncpy(tmp, unc + 4, len - 4); tmp[len - 4] = L'\0'; |