Try to fix one more Windows-specific build error.

master
Cyp 2010-12-20 02:12:09 +01:00
parent 57d9a7dd6f
commit 180d0bb62a
2 changed files with 6 additions and 6 deletions

View File

@ -1229,7 +1229,7 @@ void ExchndlSetup()
void ResetRPTDirectory(char *newPath)
{
debug(LOG_WZ, "New RPT directory is %s, was %s", newPath, szLogFileName);
_tcscpy(szLogFileName, _T(newPath));
_tcscpy(szLogFileName, CW2T(newPath));
}
void ExchndlShutdown(void)
{

View File

@ -8,11 +8,11 @@ CPPFLAGS := $(CPPFLAGS) -I$(top_srcdir)/lib/ivis_opengl
# Due to the lexer's dependencies on the parser's header we need to compile the
# parsers first
PARSERS= \
message_parser.tab.c \
message_lexer.lex.c \
scriptvals_parser.tab.c \
scriptvals_lexer.lex.c \
level_lexer.lex.c
message_parser.tab.cpp \
message_lexer.lex.cpp \
scriptvals_parser.tab.cpp \
scriptvals_lexer.lex.cpp \
level_lexer.lex.cpp
SRC= \
$(PARSERS) \