Third try (or so) to fix freebsd compilation.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-11-06 10:32:33 +00:00
parent f48d432094
commit fdc495b5bd
2 changed files with 3 additions and 3 deletions

View File

@ -303,8 +303,8 @@ int XMLNode::get(const std::string &attribute, int *value) const
} // get(int)
// ----------------------------------------------------------------------------
// Commented out for FREEBSD since TimeType=time_t and int are the same
#ifndef __FREEBSD__
// Commented out for FreeBSD since TimeType=time_t and int are the same
#ifndef __FreeBSD__
int XMLNode::get(const std::string &attribute, Time::TimeType *value) const
{
std::string s;

View File

@ -73,7 +73,7 @@ public:
int get(const std::string &attribute, core::stringw *value) const;
int get(const std::string &attribute, int *value) const;
int get(const std::string &attribute, unsigned int *value) const;
#ifndef __FREEBSD__
#ifndef __FreeBSD__
// FreeBSD has time_t same as int
int get(const std::string &attribute, Time::TimeType *value) const;
#endif