MSVC build fixed

This commit is contained in:
Martin Sustrik 2010-06-04 15:47:22 +02:00
parent 621d7415b3
commit 927993863e
6 changed files with 18 additions and 4 deletions

View File

@ -165,6 +165,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File
RelativePath="..\..\..\perf\local_lat.cpp"
>

View File

@ -165,6 +165,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File
RelativePath="..\..\..\perf\local_thr.cpp"
>

View File

@ -165,6 +165,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File
RelativePath="..\..\..\perf\remote_lat.cpp"
>

View File

@ -165,6 +165,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File
RelativePath="..\..\..\perf\remote_thr.cpp"
>

View File

@ -421,7 +421,7 @@ XMLNode XMLNode::openFileHelper(XMLCSTR filename, XMLCSTR tag)
// create message
char message[2000],*s1=(char*)"",*s3=(char*)""; XMLCSTR s2=_CXML("");
if (pResults.error==eXMLErrorFirstTagNotFound) { s1=(char*)"First Tag should be '"; s2=tag; s3=(char*)"'.\n"; }
snprintf(message,2000,
sprintf(message,
#ifdef _XMLWIDECHAR
"XML Parsing error inside file '%S'.\n%S\nAt line %i, column %i.\n%s%S%s"
#else

View File

@ -19,9 +19,7 @@
#include <assert.h>
#include <stdlib.h>
#ifdef _WIN32
# include <windows.h>
#else
#ifndef _WIN32
# include <sys/time.h>
# include <unistd.h>
#endif