Changeset 52565 in vbox for trunk/include/iprt
- Timestamp:
- Sep 2, 2014 10:10:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cdefs.h
r52495 r52565 4 4 5 5 /* 6 * Copyright (C) 2006-201 2Oracle Corporation6 * Copyright (C) 2006-2014 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1540 1540 * @param member Member. 1541 1541 */ 1542 #if defined(__GNUC__) && defined(__cplusplus) 1542 #if defined(__GNUC__) && defined(__cplusplus) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) 1543 1543 # define RT_OFFSETOF(type, member) ( (int)(uintptr_t)&( ((type *)(void *)0x1000)->member) - 0x1000 ) 1544 1544 #else … … 1558 1558 * @param member Member. 1559 1559 */ 1560 #if defined(__GNUC__) && defined(__cplusplus) 1560 #if defined(__GNUC__) && defined(__cplusplus) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) 1561 1561 # define RT_UOFFSETOF(type, member) ( (uintptr_t)&( ((type *)(void *)0x1000)->member) - 0x1000 ) 1562 1562 #else
Note:
See TracChangeset
for help on using the changeset viewer.