Yet another try to fix freebsd compilation.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-11-04 02:12:09 +00:00
parent 2ff42bf88a
commit c3c1c023d6
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ int XMLNode::get(const std::string &attribute, int *value) const
// ----------------------------------------------------------------------------
// Commented out for FREEBSD since TimeType=time_t and int are the same
#ifndef FREEBSD
#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