From d4b35f3536419d07d28740105e9ee06ac8bea4ac Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 14 Jul 2021 08:43:23 +0200 Subject: [PATCH] path_ensure_not_existing() doesn't seem to be used on Windows... --- src/std_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/std_utils.cc b/src/std_utils.cc index 9aa006a..138fff8 100644 --- a/src/std_utils.cc +++ b/src/std_utils.cc @@ -118,6 +118,7 @@ namespace pEp { return ss.str(); } +#ifndef WIN32 void path_ensure_not_existing(const string &path) { while (path_exists(path)) { @@ -125,7 +126,6 @@ namespace pEp { } } -#ifndef WIN32 void dir_create(const string &dirname, const mode_t mode) { if (mkdir(dirname.c_str(), mode) != 0) {