VirtualBox

Changeset 40946 in vbox


Ignore:
Timestamp:
Apr 16, 2012 5:16:27 PM (13 years ago)
Author:
vboxsync
Message:

iprt: build fix.

File:
1 edited

Legend:

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

    r40945 r40946  
    4141RT_C_DECLS_BEGIN
    4242#  include "xf86_ansic.h"
     43#  undef NULL
    4344RT_C_DECLS_END
    4445
     
    149150#  undef true
    150151#  undef bool
    151 
    152152# else
    153153#  include <stddef.h>
    154154#  include <sys/types.h>
    155155# endif
     156
     157
     158/* Define any types missing from sys/types.h on windows. */
     159# ifdef _MSC_VER
     160#  undef ssize_t
     161   typedef intptr_t ssize_t;
     162# endif
     163
     164#else  /* no crt */
     165# include <iprt/nocrt/compiler/compiler.h>
     166#endif /* no crt */
    156167
    157168/** @def NULL
     
    165176# endif
    166177#endif
    167 
    168 /* Define any types missing from sys/types.h on windows. */
    169 # ifdef _MSC_VER
    170 #  undef ssize_t
    171    typedef intptr_t ssize_t;
    172 # endif
    173 
    174 #else  /* no crt */
    175 # include <iprt/nocrt/compiler/compiler.h>
    176 #endif /* no crt */
    177178
    178179
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