13
0

AAF import tool: fix windows builds

This commit is contained in:
Robin Gareus 2023-11-29 05:42:31 +01:00
parent de7d0a986b
commit b376f271c4
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -657,8 +657,7 @@ prepare_cache (AAF_Iface* aafi, string* media_cache_path)
*media_cache_path = testdir;
if (mkdir ((*media_cache_path).c_str (), 0760) < 0) {
// if ( g_mkdir_with_parents( (*media_cache_path).c_str(), 0760 ) < 0 ) {
if (g_mkdir_with_parents ((*media_cache_path).c_str (), 0760) < 0) {
PBD::error << string_compose ("Could not create cache directory at '%1' : %2", (*media_cache_path), strerror (errno)) << endmsg;
return -1;
}