From 57d6835a90be05b667f4cdf20d1b1f0d3553bd21 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 12 Jan 2018 12:27:03 +0100 Subject: [PATCH] Spacing --- src/support/FileName.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 219a9e5fd8..1e3cacf172 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -668,25 +668,25 @@ bool FileName::destroyDirectory() const static int mymkdir(char const * pathname, unsigned long int mode) { // FIXME: why don't we have mode_t in lyx::mkdir prototype ?? -#if HAVE_MKDIR -# if MKDIR_TAKES_ONE_ARG +# if HAVE_MKDIR +# if MKDIR_TAKES_ONE_ARG // MinGW32 return ::mkdir(pathname); // FIXME: "Permissions of created directories are ignored on this system." -# else +# else // POSIX return ::mkdir(pathname, mode_t(mode)); -# endif -#elif defined(_WIN32) +# endif +# elif defined(_WIN32) // plain Windows 32 return CreateDirectory(pathname, 0) != 0 ? 0 : -1; // FIXME: "Permissions of created directories are ignored on this system." -#elif HAVE__MKDIR +# elif HAVE__MKDIR return ::_mkdir(pathname); // FIXME: "Permissions of created directories are ignored on this system." -#else +# else # error "Don't know how to create a directory on this system." -#endif +# endif } #endif -- 2.39.2