support.lib(tempname.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) int __cdecl lyx::_open(char const *,int,int)" (__imp_?_open@lyx@@YAHPBDHH@Z) referenced in function "int __cdecl lyx::`anonymous namespace'::make_tempfile(char *)" (?make_tempfile@?A0xcf85a5f4@lyx@@YAHPAD@Z)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15427
a592a061-630c-0410-9148-
cb99ea01b6c8
#include <cstdlib>
-
-namespace lyx {
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
using std::string;
using std::endl;
+namespace lyx {
+
namespace {
inline