Rev 422 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
422 | giacomo | 1 | /* Symbol versioning nastiness. */ |
2 | |||
3 | #define __SYMBOL_VERSION(x) __ver_ ## x |
||
4 | #define __VERSIONED_SYMBOL2(x,v) x ## _R ## v |
||
5 | #define __VERSIONED_SYMBOL1(x,v) __VERSIONED_SYMBOL2(x,v) |
||
6 | #define __VERSIONED_SYMBOL(x) __VERSIONED_SYMBOL1(x,__SYMBOL_VERSION(x)) |
||
7 | |||
8 | #ifndef _set_ver |
||
9 | #define _set_ver(x) __VERSIONED_SYMBOL(x) |
||
10 | #endif |