| 1 |
#ifndef _INTEL_COMPILER_H_ |
| 2 |
#define _INTEL_COMPILER_H_ |
| 3 |
|
| 4 |
/** |
| 5 |
* Function inlining |
| 6 |
*/ |
| 7 |
#if defined(__GNUC__) |
| 8 |
# define INLINE __inline__ |
| 9 |
#elif (__STDC_VERSION__ >= 199901L) /* C99 */ |
| 10 |
# define INLINE inline |
| 11 |
#else |
| 12 |
# define INLINE |
| 13 |
#endif |
| 14 |
|
| 15 |
/** |
| 16 |
* Function visibility |
| 17 |
*/ |
| 18 |
#if defined(__GNUC__) |
| 19 |
# define DLL_HIDDEN __attribute__((visibility("hidden"))) |
| 20 |
# define DLL_EXPORT __attribute__((visibility("default"))) |
| 21 |
#else |
| 22 |
# define DLL_HIDDEN |
| 23 |
# define DLL_EXPORT |
| 24 |
#endif |
| 25 |
|
| 26 |
#endif /* _INTEL_COMPILER_H_ */ |