Commit 56079a32 authored by hausmann@webkit.org's avatar hausmann@webkit.org

2008-05-29 Thiago Macieira <tjmaciei@trolltech.com>

        Reviewed by Simon.

        Fix compilation in Solaris with Sun CC

        Lots of WebKit code uses C99 functions that, strict as it
        is, the Solaris system doesn't provide in C++. So we must define them
        for both GCC and the Sun CC.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34198 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8aba93cd
2008-05-29 Thiago Macieira <tjmaciei@trolltech.com>
Reviewed by Simon.
Fix compilation in Solaris with Sun CC
Lots of WebKit code uses C99 functions that, strict as it
is, the Solaris system doesn't provide in C++. So we must define them
for both GCC and the Sun CC.
* wtf/MathExtras.h:
2008-05-28 Oliver Hunt <oliver@apple.com>
Reviewed by Anders.
......
......@@ -30,7 +30,7 @@
#include <stdlib.h>
#include <time.h>
#if PLATFORM(SOLARIS) && COMPILER(GCC)
#if PLATFORM(SOLARIS)
#include <ieeefp.h>
#endif
......@@ -61,7 +61,7 @@ const double piOverFourDouble = M_PI_4;
const float piOverFourFloat = static_cast<float>(M_PI_4);
#endif
#if PLATFORM(SOLARIS) && COMPILER(GCC)
#if PLATFORM(SOLARIS)
#ifndef isfinite
inline bool isfinite(double x) { return finite(x) && !isnand(x); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment