VirtualBox

Changeset 660 in vbox


Ignore:
Timestamp:
Feb 6, 2007 2:11:48 AM (18 years ago)
Author:
vboxsync
Message:

make up for lacking stddef.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/types.h

    r658 r660  
    6969#else /* no crt */
    7070# if defined(__GNUC__)
    71 #  if !defined(__OS2__) && !defined(__FREEBSD__)
     71#  if defined(__OS2__) || defined(__FREEBSD__)
     72#   include <iprt/nocrt/compiler/gcc.h>
     73#  else
    7274#   include <stddef.h>
    73 endif
    74 ifndef _SIZE_T_DECLARED
    75 #   define _SIZE_T_DECLARED
    76 #   if defined(__X86__)
    77      typedef unsigned int size_t;
    78 #   else
    79      typedef uintptr_t size_t;
     75 ifndef _SIZE_T_DECLARED
     76  define _SIZE_T_DECLARED
     77#    if defined(__X86__)
     78      typedef unsigned int size_t;
     79#    else
     80      typedef uintptr_t size_t;
     81#    endif
    8082#   endif
    81 endif
    82 ifndef _SSIZE_T_DECLARED
    83 #   define _SSIZE_T_DECLARED
    84 #   if defined(__X86__)
    85      typedef int ssize_t;
    86 #   else
    87      typedef intptr_t ssize_t;
     83 ifndef _SSIZE_T_DECLARED
     84  define _SSIZE_T_DECLARED
     85#    if defined(__X86__)
     86      typedef int ssize_t;
     87#    else
     88      typedef intptr_t ssize_t;
     89#    endif
    8890#   endif
    8991#  endif
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