From ea3b7793fa039aa166212d57ea816b83f678a147 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 21 Aug 2016 12:35:43 +0200 Subject: Cosmetic change --- butl/filesystem.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'butl') 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 // _mkdir(), _rmdir() # include // _stat # include // _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, 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 -- cgit v1.1