VirtualBox

Changeset 35525 in vbox


Ignore:
Timestamp:
Jan 13, 2011 2:00:37 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69409
Message:

Followup to r69260: Need the size_t redefinition, so include xf86_ansic.h from iprt/types.h.

Location:
trunk
Files:
3 edited

Legend:

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

    r35514 r35525  
    3535#ifndef IPRT_NO_CRT
    3636
    37 # if defined(RT_OS_DARWIN) && defined(KERNEL)
     37# if defined(IN_XF86_MODULE) && !defined(NO_ANSIC)
     38    /*
     39     * Kludge for xfree86 modules: size_t and other types are redefined.
     40     */
     41RT_C_DECLS_BEGIN
     42#  include "xf86_ansic.h"
     43RT_C_DECLS_END
     44
     45# elif defined(RT_OS_DARWIN) && defined(KERNEL)
    3846    /*
    3947     * Kludge for the darwin kernel:
     
    462470#ifdef RT_COMPILER_GROKS_64BIT_BITFIELDS
    463471    /** Format using 64-bit bitfields.  */
    464     RT_GCC_EXTENSION struct 
     472    RT_GCC_EXTENSION struct
    465473    {
    466474# ifdef RT_BIG_ENDIAN
  • trunk/src/VBox/Runtime/common/alloc/heapoffset.cpp

    r35398 r35525  
    3030*******************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_DEFAULT
    32 /* XXX this header must be included first as it re-defines some symbols
    33  * (e.g size_t) if IN_XF86_MODULE is defined. */
    34 #include <iprt/string.h>
    3532#include <iprt/heap.h>
    3633#include "internal/iprt.h"
     
    4138#include <iprt/log.h>
    4239#include <iprt/param.h>
     40#include <iprt/string.h>
    4341
    4442#include "internal/magics.h"
  • trunk/src/VBox/Runtime/common/alloc/heapsimple.cpp

    r35398 r35525  
    3030*******************************************************************************/
    3131#define LOG_GROUP RTLOGGROUP_DEFAULT
    32 /* XXX this header must be included first as it re-defines some symbols
    33  * (e.g size_t) if IN_XF86_MODULE is defined. */
    34 #include <iprt/string.h>
    3532#include <iprt/heap.h>
    3633#include "internal/iprt.h"
     
    4037#include <iprt/err.h>
    4138#include <iprt/log.h>
     39#include <iprt/string.h>
    4240#include <iprt/param.h>
    4341
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