diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-08-22 11:18:04 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-08-22 11:18:04 +0200 |
commit | e303e5e5c6b99f25ce20da324d5c417427c87aaa (patch) | |
tree | b228bcacfcd25d019081f37c275815efe785a8b6 /src/intel_compiler.h | |
parent | f48a802937cbd74e40dc503f712439433b77da71 (diff) | |
download | libva-intel-driver-e303e5e5c6b99f25ce20da324d5c417427c87aaa.tar.gz libva-intel-driver-e303e5e5c6b99f25ce20da324d5c417427c87aaa.tar.bz2 libva-intel-driver-e303e5e5c6b99f25ce20da324d5c417427c87aaa.zip |
Moved files around.
Diffstat (limited to 'src/intel_compiler.h')
-rw-r--r-- | src/intel_compiler.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/intel_compiler.h b/src/intel_compiler.h new file mode 100644 index 0000000..e1c3bd2 --- /dev/null +++ b/src/intel_compiler.h @@ -0,0 +1,26 @@ +#ifndef _INTEL_COMPILER_H_ +#define _INTEL_COMPILER_H_ + +/** + * Function inlining + */ +#if defined(__GNUC__) +# define INLINE __inline__ +#elif (__STDC_VERSION__ >= 199901L) /* C99 */ +# define INLINE inline +#else +# define INLINE +#endif + +/** + * Function visibility + */ +#if defined(__GNUC__) +# define DLL_HIDDEN __attribute__((visibility("hidden"))) +# define DLL_EXPORT __attribute__((visibility("default"))) +#else +# define DLL_HIDDEN +# define DLL_EXPORT +#endif + +#endif /* _INTEL_COMPILER_H_ */ |