diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-15 17:11:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-31 18:42:55 +0300 |
commit | 61ef82ec2b2ca396667f92a4e5c6ceb729c42086 (patch) | |
tree | 57ca5868483f361a9da28bbfc32f0cc838787b3e /butl/path.cxx | |
parent | 79bb0331cb93a736193e733b5ae26d040931a1aa (diff) |
Port to MinGW
Diffstat (limited to 'butl/path.cxx')
-rw-r--r-- | butl/path.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/butl/path.cxx b/butl/path.cxx index 1f8f195..0ec71d1 100644 --- a/butl/path.cxx +++ b/butl/path.cxx @@ -56,7 +56,7 @@ namespace butl #ifdef _WIN32 char cwd[_MAX_PATH]; - if(_getcwd (cwd, _MAX_PATH) == 0) + if (_getcwd (cwd, _MAX_PATH) == 0) throw system_error (errno, system_category ()); #else char cwd[PATH_MAX]; @@ -72,7 +72,7 @@ namespace butl current (string_type const& s) { #ifdef _WIN32 - if(_chdir (s.c_str ()) != 0) + if (_chdir (s.c_str ()) != 0) throw system_error (errno, system_category ()); #else if (chdir (s.c_str ()) != 0) @@ -193,7 +193,7 @@ namespace butl { #ifdef _WIN32 wchar_t wcwd[_MAX_PATH]; - if(_wgetcwd (wcwd, _MAX_PATH) == 0) + if (_wgetcwd (wcwd, _MAX_PATH) == 0) throw system_error (errno, system_category ()); #else char cwd[PATH_MAX]; @@ -213,7 +213,7 @@ namespace butl current (string_type const& s) { #ifdef _WIN32 - if(_wchdir (s.c_str ()) != 0) + if (_wchdir (s.c_str ()) != 0) throw system_error (errno, system_category ()); #else char ns[PATH_MAX + 1]; |