Revision: 641
http://xml-cppdom.svn.sourceforge.net/xml-cppdom/?rev=641&view=rev
Author: patrickh
Date: 2010-03-06 16:28:28 +0000 (Sat, 06 Mar 2010)
Log Message:
-----------
Fixed a compile error with GCC 4.4.
Submitted by: Casrten Neumann
Modified Paths:
--------------
trunk/test/suite/runner.cpp
Modified: trunk/test/suite/runner.cpp
===================================================================
--- trunk/test/suite/runner.cpp 2010-03-06 16:19:42 UTC (rev 640)
+++ trunk/test/suite/runner.cpp 2010-03-06 16:28:28 UTC (rev 641)
@@ -51,6 +51,8 @@
#include <Suites.h>
+#include <cstring>
+
std::string getHostname(void);
int main(int argc, char** argv)
@@ -150,7 +152,7 @@
if ( uname(&buffer) == 0 )
{
char* temp;
- temp = strchr(buffer.nodename, '.');
+ temp = std::strchr(buffer.nodename, '.');
// If the node name contains the full host, dots and all, truncate it
// at the first dot.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|