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:
parent
2ff42bf88a
commit
c3c1c023d6
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user