]> git.lyx.org Git - lyx.git/blob - src/support/unlink.C
hopefully fix tex2lyx linking.
[lyx.git] / src / support / unlink.C
1 /**
2  * \file unlink.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Lars Gullik Bjønnes
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "support/lyxlib.h"
14
15
16 namespace lyx {
17
18 #ifdef HAVE_UNISTD_H
19 # include <unistd.h>
20 #endif
21
22 int lyx::support::unlink(std::string const & pathname)
23 {
24         return ::unlink(pathname.c_str());
25 }
26
27
28 } // namespace lyx