More fixes for non-win32 building

Originally committed to SVN as r695.
This commit is contained in:
Niels Martin Hansen 2007-01-03 19:16:29 +00:00
parent f75ad038bd
commit 9499b17d18

View file

@ -39,8 +39,8 @@
#include "ass_file.h"
#include "ass_override.h"
#include "text_file_reader.h"
#include <lualib.h>
#include <lauxlib.h>
#include "../lua51/src/lualib.h"
#include "../lua51/src/lauxlib.h"
#include <wx/msgdlg.h>
#include <wx/filename.h>
#include <wx/filefn.h>
@ -105,7 +105,7 @@ namespace Automation4 {
#ifdef WIN32
f = _tfopen(filename.c_str(), _T("rb"));
#else
f = fopen(filename.c_str(), _T("rb"));
f = fopen(filename.fn_str(), "rb");
#endif
first = true;
databuf = new char[bufsize];