lyx_mirror/src/support/mkdir.C
Jean-Marc Lasgouttes 2b7e2f9a7d fix lyx::mkdir 2nd argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@434 a592a061-630c-0410-9148-cb99ea01b6c8
2000-01-21 13:54:13 +00:00

23 lines
385 B
C

#include <config.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#ifdef CXX_WORKING_NAMESPACES
namespace lyx {
int mkdir(char const * pathname, unsigned long int mode)
{
return ::mkdir(pathname, mode);
}
}
#else
#include "lyxlib.h"
int lyx::mkdir(char const * pathname, unsigned long int mode)
{
return ::mkdir(pathname, mode);
}
#endif