VirtualBox

Changeset 52565 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Sep 2, 2014 10:10:40 AM (10 years ago)
Author:
vboxsync
Message:

include/iprt/cdefs.h: try fixing the internal compiler error exposed on an OSE build on OSX host

File:
1 edited

Legend:

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

    r52495 r52565  
    44
    55/*
    6  * Copyright (C) 2006-2012 Oracle Corporation
     6 * Copyright (C) 2006-2014 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    15401540 * @param   member  Member.
    15411541 */
    1542 #if defined(__GNUC__) && defined(__cplusplus)
     1542#if defined(__GNUC__) && defined(__cplusplus) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
    15431543# define RT_OFFSETOF(type, member)              ( (int)(uintptr_t)&( ((type *)(void *)0x1000)->member) - 0x1000 )
    15441544#else
     
    15581558 * @param   member  Member.
    15591559 */
    1560 #if defined(__GNUC__) && defined(__cplusplus)
     1560#if defined(__GNUC__) && defined(__cplusplus) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
    15611561# define RT_UOFFSETOF(type, member)             ( (uintptr_t)&( ((type *)(void *)0x1000)->member) - 0x1000 )
    15621562#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