]> git.lyx.org Git - lyx.git/blob - src/support/chdir.C
fix typo that put too many include paths for most people
[lyx.git] / src / support / chdir.C
1 #include <config.h>
2
3 #include <unistd.h>
4
5 #include "support/lyxlib.h"
6
7 int lyx::chdir(string const & name)
8 {
9 #ifndef __EMX__
10         return ::chdir(name.c_str());
11 #else
12         return ::_chdir2(name.c_str());
13 #endif
14 }