lyx_mirror/src/support/chdir.C
Jean-Marc Lasgouttes d7a20664db A small lyxlib.h cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1143 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-20 13:13:38 +00:00

15 lines
204 B
C

#include <config.h>
#include <unistd.h>
#include "support/lyxlib.h"
int lyx::chdir(string const & name)
{
#ifndef __EMX__
return ::chdir(name.c_str());
#else
return ::_chdir2(name.c_str());
#endif
}