diff --git a/src/io/xml_node.cpp b/src/io/xml_node.cpp index 84daf6a51..0cafbcd77 100644 --- a/src/io/xml_node.cpp +++ b/src/io/xml_node.cpp @@ -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; diff --git a/src/io/xml_node.hpp b/src/io/xml_node.hpp index f40fdd711..977f37b97 100644 --- a/src/io/xml_node.hpp +++ b/src/io/xml_node.hpp @@ -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