MSVC linking error fix:

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
This commit is contained in:
Abdelrazak Younes 2006-10-21 07:55:42 +00:00
parent 5dc370ea73
commit 87e34d9784

View File

@ -22,8 +22,6 @@
#include <cstdlib> #include <cstdlib>
namespace lyx {
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
# include <unistd.h> # include <unistd.h>
#endif #endif
@ -46,6 +44,8 @@ using boost::scoped_array;
using std::string; using std::string;
using std::endl; using std::endl;
namespace lyx {
namespace { namespace {
inline inline