aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-21 12:35:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-21 12:35:43 +0200
commitea3b7793fa039aa166212d57ea816b83f678a147 (patch)
tree2de10a576591b6b01de9ce22a73e73fffc20cc96
parentc51778aac8ed87de70b5cd74beb2af7421e35e9e (diff)
Cosmetic change
-rw-r--r--butl/filesystem.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/butl/filesystem.cxx b/butl/filesystem.cxx
index a807f4c..9db8814 100644
--- a/butl/filesystem.cxx
+++ b/butl/filesystem.cxx
@@ -16,6 +16,11 @@
# include <direct.h> // _mkdir(), _rmdir()
# include <sys/types.h> // _stat
# include <sys/stat.h> // _stat(), S_I*
+
+# ifdef _MSC_VER // Unlikely to be fixed in newer versions.
+# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
+# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
+# endif
#endif
#include <errno.h> // errno, E*
@@ -27,11 +32,6 @@
using namespace std;
-#ifdef _MSC_VER // Unlikely to be fixed in newer versions.
-# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
-# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
-#endif
-
namespace butl
{
bool