Changeset 8268:e228b645a86d in orange


Ignore:
Timestamp:
05/14/11 20:31:44 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
317cbcbcf4a82e24f165fea0e2b73e1378fa3f1d
Message:

Enable compilation with GCC 4.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/root.hpp

    r8265 r8268  
    3333 
    3434#ifndef offsetof 
    35   #define offsetof(_TYPE, _MEMBER) ((size_t) &((TYPE *)0)->MEMBER) 
     35  #define offsetof(_TYPE, _MEMBER) ((size_t) &((_TYPE *)0)->_MEMBER) 
    3636#endif 
    3737 
Note: See TracChangeset for help on using the changeset viewer.