]> git.lyx.org Git - lyx.git/blobdiff - src/support/mkdir.C
Make it possible to uses non-ascii labelstring, endlabelstring and
[lyx.git] / src / support / mkdir.C
index 5d91b713bb8998e3b4b7225a8479321f321ad9ee..a667e4fc913c10753765d3a0de16ce08a48b7978 100644 (file)
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
+#ifdef HAVE_DIRECT_H
+# include <direct.h>
+#endif
 #ifdef _WIN32
 # include <windows.h>
 #endif
 
+namespace lyx {
+
+
 int lyx::support::mkdir(std::string const & pathname, unsigned long int mode)
 {
        // FIXME: why don't we have mode_t in lyx::mkdir prototype ??
@@ -46,3 +52,6 @@ int lyx::support::mkdir(std::string const & pathname, unsigned long int mode)
 #   error "Don't know how to create a directory on this system."
 #endif
 }
+
+
+} // namespace lyx