mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Core: abs/fabs issue #663
git-svn-id: svn://ultimatepp.org/upp/trunk@6816 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b248f65025
commit
0d748e6e59
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue