Commit 92799386 authored by Martin Sustrik's avatar Martin Sustrik

MSVC build fixed

parent 621d7415
...@@ -165,6 +165,10 @@ ...@@ -165,6 +165,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
> >
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File <File
RelativePath="..\..\..\perf\local_lat.cpp" RelativePath="..\..\..\perf\local_lat.cpp"
> >
......
...@@ -165,6 +165,10 @@ ...@@ -165,6 +165,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
> >
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File <File
RelativePath="..\..\..\perf\local_thr.cpp" RelativePath="..\..\..\perf\local_thr.cpp"
> >
......
...@@ -165,6 +165,10 @@ ...@@ -165,6 +165,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
> >
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File <File
RelativePath="..\..\..\perf\remote_lat.cpp" RelativePath="..\..\..\perf\remote_lat.cpp"
> >
......
...@@ -165,6 +165,10 @@ ...@@ -165,6 +165,10 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx" Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
> >
<File
RelativePath="..\..\..\perf\helpers.cpp"
>
</File>
<File <File
RelativePath="..\..\..\perf\remote_thr.cpp" RelativePath="..\..\..\perf\remote_thr.cpp"
> >
......
...@@ -421,7 +421,7 @@ XMLNode XMLNode::openFileHelper(XMLCSTR filename, XMLCSTR tag) ...@@ -421,7 +421,7 @@ XMLNode XMLNode::openFileHelper(XMLCSTR filename, XMLCSTR tag)
// create message // create message
char message[2000],*s1=(char*)"",*s3=(char*)""; XMLCSTR s2=_CXML(""); 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"; } if (pResults.error==eXMLErrorFirstTagNotFound) { s1=(char*)"First Tag should be '"; s2=tag; s3=(char*)"'.\n"; }
snprintf(message,2000, sprintf(message,
#ifdef _XMLWIDECHAR #ifdef _XMLWIDECHAR
"XML Parsing error inside file '%S'.\n%S\nAt line %i, column %i.\n%s%S%s" "XML Parsing error inside file '%S'.\n%S\nAt line %i, column %i.\n%s%S%s"
#else #else
......
...@@ -19,9 +19,7 @@ ...@@ -19,9 +19,7 @@
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#ifdef _WIN32 #ifndef _WIN32
# include <windows.h>
#else
# include <sys/time.h> # include <sys/time.h>
# include <unistd.h> # include <unistd.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment