mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-28 09:19:41 +03:00
84ab2d2d6b
git-svn-id: svn://kolibrios.org@3769 a494cfbc-eb01-0410-851d-a64ba20cac60
27 lines
521 B
C
27 lines
521 B
C
#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_ */
|