Core: abs/fabs issue #663

git-svn-id: svn://ultimatepp.org/upp/trunk@6816 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-01-27 08:56:28 +00:00
parent b248f65025
commit 0d748e6e59

View file

@ -366,6 +366,10 @@ static const MemDiagCls sMemDiagHelper__upp__;
inline UPP::int64 abs(UPP::int64 x) { return x < 0 ? -x : x; }
#endif
#ifdef COMPILER_GCC
inline double abs(double x) { return fabs(x); }
#endif
void RegisterTopic__(const char *topicfile, const char *topic, const char *title, const UPP::byte *data, int len);
#ifdef PLATFORM_WIN32