… | |
… | |
334 | #else |
334 | #else |
335 | #define ecb_prefetch(addr,rw,locality) |
335 | #define ecb_prefetch(addr,rw,locality) |
336 | #endif |
336 | #endif |
337 | |
337 | |
338 | /* no emulation for ecb_decltype */ |
338 | /* no emulation for ecb_decltype */ |
339 | #if ECB_GCC_VERSION(4,5) |
|
|
340 | #define ecb_decltype(x) __decltype (x) |
|
|
341 | #elif ECB_GCC_VERSION(3,0) |
|
|
342 | #define ecb_decltype(x) __typeof (x) |
|
|
343 | #elif ECB_CPP11 |
339 | #if ECB_CPP11 |
344 | #define ecb_decltype(x) decltype (x) |
340 | #define ecb_decltype(x) decltype (x) |
|
|
341 | #elif ECB_GCC_VERSION(3,0) || ECB_CLANG_VERSION(2,8) |
|
|
342 | #define ecb_decltype(x) __typeof__ (x) |
345 | #endif |
343 | #endif |
346 | |
344 | |
347 | #if _MSC_VER >= 1300 |
345 | #if _MSC_VER >= 1300 |
348 | #define ecb_deprecated __declspec(deprecated) |
346 | #define ecb_deprecated __declspec(deprecated) |
349 | #else |
347 | #else |