VirtualBox

Changeset 16007 in vbox for trunk/src/libs/xpcom18a4


Ignore:
Timestamp:
Jan 17, 2009 9:40:45 PM (16 years ago)
Author:
vboxsync
Message:

nspr/_freebsd.cfg: Updated to a more recent version wtih amd64 support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/md/_freebsd.cfg

    r1 r16007  
    4949#define PR_AF_INET6 28  /* same as AF_INET6 */
    5050
     51#ifndef HAVE_LONG_LONG
     52#define HAVE_LONG_LONG
     53#endif
     54
    5155#if defined(__i386__)
    5256
    5357#define IS_LITTLE_ENDIAN 1
    5458#undef  IS_BIG_ENDIAN
    55 #define HAVE_LONG_LONG
    5659#undef  HAVE_ALIGNED_DOUBLES
    5760#undef  HAVE_ALIGNED_LONGLONGS
     
    9598#define PR_ALIGN_OF_POINTER 4
    9699
    97 #elif defined(__alpha)
     100#elif defined(__alpha__)
    98101
    99102#define IS_LITTLE_ENDIAN 1
    100103#undef  IS_BIG_ENDIAN
    101 #define HAVE_LONG_LONG
    102104#define HAVE_ALIGNED_DOUBLES
    103105#define HAVE_ALIGNED_LONGLONGS
     
    144146#elif defined(__sparc__)
    145147
    146 #undef IS_LITTLE_ENDIAN
     148#undef  IS_LITTLE_ENDIAN
    147149#define IS_BIG_ENDIAN 1
    148 #define HAVE_LONG_LONG
    149150#define HAVE_ALIGNED_DOUBLES
    150151#define HAVE_ALIGNED_LONGLONGS
     
    188189#define PR_ALIGN_OF_DOUBLE  8
    189190#define PR_ALIGN_OF_POINTER 8
     191
     192#elif defined(__ia64__)
     193
     194#define IS_LITTLE_ENDIAN 1
     195#undef  IS_BIG_ENDIAN
     196#define HAVE_ALIGNED_DOUBLES
     197#define HAVE_ALIGNED_LONGLONGS
     198#define IS_64
     199
     200#define PR_BYTES_PER_BYTE   1
     201#define PR_BYTES_PER_SHORT  2
     202#define PR_BYTES_PER_INT    4
     203#define PR_BYTES_PER_INT64  8
     204#define PR_BYTES_PER_LONG   8
     205#define PR_BYTES_PER_FLOAT  4
     206#define PR_BYTES_PER_DOUBLE 8
     207#define PR_BYTES_PER_WORD   8
     208#define PR_BYTES_PER_DWORD  8
     209#define PR_BYTES_PER_WORD_LOG2   3
     210#define PR_BYTES_PER_DWORD_LOG2  3
     211
     212#define PR_BITS_PER_BYTE    8
     213#define PR_BITS_PER_SHORT   16
     214#define PR_BITS_PER_INT     32
     215#define PR_BITS_PER_INT64   64
     216#define PR_BITS_PER_LONG    64
     217#define PR_BITS_PER_FLOAT   32
     218#define PR_BITS_PER_DOUBLE  64
     219#define PR_BITS_PER_WORD    64
     220
     221#define PR_BITS_PER_BYTE_LOG2   3
     222#define PR_BITS_PER_SHORT_LOG2  4
     223#define PR_BITS_PER_INT_LOG2    5
     224#define PR_BITS_PER_INT64_LOG2  6
     225#define PR_BITS_PER_LONG_LOG2   6
     226#define PR_BITS_PER_FLOAT_LOG2  5
     227#define PR_BITS_PER_DOUBLE_LOG2 6
     228#define PR_BITS_PER_WORD_LOG2   6
     229
     230#define PR_ALIGN_OF_SHORT   2
     231#define PR_ALIGN_OF_INT     4
     232#define PR_ALIGN_OF_LONG    8
     233#define PR_ALIGN_OF_INT64   8
     234#define PR_ALIGN_OF_FLOAT   4
     235#define PR_ALIGN_OF_DOUBLE  8
     236#define PR_ALIGN_OF_POINTER 8
     237#define PR_ALIGN_OF_WORD    8
     238
     239#elif defined(__amd64__)
     240
     241#define IS_LITTLE_ENDIAN 1
     242#undef  IS_BIG_ENDIAN
     243#define HAVE_ALIGNED_DOUBLES
     244#define HAVE_ALIGNED_LONGLONGS
     245#define IS_64
     246
     247#define PR_BYTES_PER_BYTE   1
     248#define PR_BYTES_PER_SHORT  2
     249#define PR_BYTES_PER_INT    4
     250#define PR_BYTES_PER_INT64  8
     251#define PR_BYTES_PER_LONG   8
     252#define PR_BYTES_PER_FLOAT  4
     253#define PR_BYTES_PER_DOUBLE 8
     254#define PR_BYTES_PER_WORD   8
     255#define PR_BYTES_PER_DWORD  8
     256#define PR_BYTES_PER_WORD_LOG2   3
     257#define PR_BYTES_PER_DWORD_LOG2  3
     258
     259#define PR_BITS_PER_BYTE    8
     260#define PR_BITS_PER_SHORT   16
     261#define PR_BITS_PER_INT     32
     262#define PR_BITS_PER_INT64   64
     263#define PR_BITS_PER_LONG    64
     264#define PR_BITS_PER_FLOAT   32
     265#define PR_BITS_PER_DOUBLE  64
     266#define PR_BITS_PER_WORD    64
     267
     268#define PR_BITS_PER_BYTE_LOG2   3
     269#define PR_BITS_PER_SHORT_LOG2  4
     270#define PR_BITS_PER_INT_LOG2    5
     271#define PR_BITS_PER_INT64_LOG2  6
     272#define PR_BITS_PER_LONG_LOG2   6
     273#define PR_BITS_PER_FLOAT_LOG2  5
     274#define PR_BITS_PER_DOUBLE_LOG2 6
     275#define PR_BITS_PER_WORD_LOG2   6
     276
     277#define PR_ALIGN_OF_SHORT   2
     278#define PR_ALIGN_OF_INT     4
     279#define PR_ALIGN_OF_LONG    8
     280#define PR_ALIGN_OF_INT64   8
     281#define PR_ALIGN_OF_FLOAT   4
     282#define PR_ALIGN_OF_DOUBLE  8
     283#define PR_ALIGN_OF_POINTER 8
     284#define PR_ALIGN_OF_WORD    8
    190285
    191286#else
Note: See TracChangeset for help on using the changeset viewer.

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