source: packages/libs/boost/patches/020-buildin-offsetof.patch @ 20365

Last change on this file since 20365 was 20365, checked in by lars, 7 years ago

[packages] Boost: Add packages for all boost libs.

Patch by AlexanderS

File size: 491 bytes
  • boost_1_38_0/boost/python/detail/config.hpp

     
    111111# define BOOST_PYTHON_OFFSETOF(s_name, s_member) \ 
    112112        ((size_t)__INTADDR__(&(((s_name *)0)->s_member))) 
    113113#else 
    114 # define BOOST_PYTHON_OFFSETOF offsetof 
     114# define BOOST_PYTHON_OFFSETOF __builtin_offsetof 
    115115#endif 
    116116 
    117117//  enable automatic library variant selection  ------------------------------//  
Note: See TracBrowser for help on using the repository browser.