Ignore:
Timestamp:
May 29, 2008, 3:16:18 AM (17 years ago)
Author:
Simon Hausmann
Message:

2008-05-29 Thiago Macieira <[email protected]>

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/MathExtras.h

    r31862 r34198  
    3131#include <time.h>
    3232
    33 #if PLATFORM(SOLARIS) && COMPILER(GCC)
     33#if PLATFORM(SOLARIS)
    3434#include <ieeefp.h>
    3535#endif
     
    6262#endif
    6363
    64 #if PLATFORM(SOLARIS) && COMPILER(GCC)
     64#if PLATFORM(SOLARIS)
    6565
    6666#ifndef isfinite
Note: See TracChangeset for help on using the changeset viewer.