VirtualBox

Changeset 26341 in vbox for trunk/include


Ignore:
Timestamp:
Feb 9, 2010 3:14:18 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57429
Message:

include/iprt: scm cleaning up spaces.

Location:
trunk/include/iprt
Files:
4 edited

Legend:

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

    r20374 r26341  
    240240#endif
    241241
    242 
  • trunk/include/iprt/lockvalidator.h

    r25908 r26341  
    10401040#endif
    10411041
    1042 
  • trunk/include/iprt/memcache.h

    r21636 r26341  
    5656#endif
    5757
    58 
  • trunk/include/iprt/nocrt/compiler/gcc.h

    r11934 r26341  
    3131 * additional information or have any questions.
    3232 */
    33    
     33
    3434#ifndef ___iprt_nocrt_compiler_gcc_h
    3535#define ___iprt_nocrt_compiler_gcc_h
     
    4949
    5050#ifdef __SIZE_TYPE__
    51 typedef __SIZE_TYPE__ size_t; 
     51typedef __SIZE_TYPE__ size_t;
    5252#elif ARCH_BITS == 32
    5353typedef uint32_t size_t;
     
    5656#else
    5757# error "ARCH_BITS is undefined or incorrect."
    58 #endif 
     58#endif
    5959#define _SIZE_T_DECLARED
    6060
     
    6262# ifdef __WCHAR_TYPE__
    6363typedef __WCHAR_TYPE__ wchar_t;
    64 # elif defined(RT_OS_OS2) || defined(RT_OS_WINDOWS) 
     64# elif defined(RT_OS_OS2) || defined(RT_OS_WINDOWS)
    6565typedef uint16_t wchar_t;
    6666# else
     
    8383#  define NULL  ((void *)0)
    8484# endif
    85 #endif 
     85#endif
    8686
    8787
    8888#ifndef offsetof
    89 # if defined(__cplusplus) && defined(__offsetof__) 
    90 #  define offsetof(type, memb) 
     89# if defined(__cplusplus) && defined(__offsetof__)
     90#  define offsetof(type, memb)
    9191    (__offsetof__ (reinterpret_cast<size_t>(&reinterpret_cast<const volatile char &>(static_cast<type *>(0)->memb))) )
    9292# else
    9393#  define offsetof(type, memb) ((size_t)&((type *)0)->memb)
    94 # endif                                       
    95 #endif                                       
     94# endif
     95#endif
    9696
    9797
    9898/* sys/types.h */
    9999#ifdef __SSIZE_TYPE__
    100 typedef __SSIZE_TYPE__ ssize_t; 
     100typedef __SSIZE_TYPE__ ssize_t;
    101101#elif ARCH_BITS == 32
    102102typedef int32_t ssize_t;
     
    106106# define ARCH_BITS 123123
    107107# error "ARCH_BITS is undefined or incorrect."
    108 #endif 
     108#endif
    109109#define _SSIZE_T_DECLARED
    110110
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