VirtualBox

Changeset 37677 in vbox


Ignore:
Timestamp:
Jun 29, 2011 7:59:07 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72537
Message:

solaris build fix.

Location:
trunk/src/recompiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/Sun/config-host.h

    r37675 r37677  
    2323# define HOST_I386 1
    2424# define HOST_LONG_BITS 32
     25#endif
     26
     27#ifndef IPRT_NO_CRT
    2528# ifdef RT_OS_WINDOWS
    2629#  define CONFIG_WIN32 1
     
    3437# elif defined(RT_OS_SOLARIS)
    3538#  define CONFIG_SOLARIS
    36 # elif !defined(IPRT_NO_CRT)
     39# else
    3740#  define HAVE_BYTESWAP_H 1
    3841# endif
  • trunk/src/recompiler/fpu/softfloat-native.h

    r37675 r37677  
    11/* Native implementation of soft float functions */
     2#define __C99FEATURES__
    23#include <math.h>
    34
    4 #if (defined(_BSD) && !defined(__APPLE__) && !defined(__FreeBSD__)) || defined(HOST_SOLARIS) /* VBox: Added __FreeBSD__ */
     5#if (defined(_BSD) && !defined(__APPLE__) && !defined(__FreeBSD__)) || defined(CONFIG_SOLARIS) /* VBox: Added __FreeBSD__ */
    56#include <ieeefp.h>
    67#define fabsf(f) ((float)fabs(f))
     
    5556
    5657
     58# if !defined(VBOX) || !defined(isnormal) || !defined(isgreater) || !defined(isgreaterequal) || !defined(isless) || !defined(islessequal) || !defined(isunordered)
    5759#define isnormal(x)             (fpclass(x) >= FP_NZERO)
    5860#define isgreater(x, y)         ((!unordered(x, y)) && ((x) > (y)))
     
    6163#define islessequal(x, y)       ((!unordered(x, y)) && ((x) <= (y)))
    6264#define isunordered(x,y)        unordered(x, y)
     65# endif /* !VBOX || missing */
    6366#endif
    6467
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette