This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/H/inline-only.h

12 lines
234 B
C
Raw Normal View History

2012-06-29 22:44:08 +01:00
#ifndef _YAP_INLINE_ONLY_H_
#define _YAP_INLINE_ONLY_H_
2018-06-15 13:55:31 +01:00
#if defined(__GNUC__ )
2018-06-18 12:16:36 +01:00
#define INLINE_ONLY EXTERN inline __attribute__((gnu_inline,always_inline))
2012-07-02 20:03:46 +01:00
//#define INLINE_ONLY
2012-06-29 22:44:08 +01:00
#else
2018-06-18 12:16:36 +01:00
#define INLINE_ONLY EXTERN inline
2012-06-29 22:44:08 +01:00
#endif
#endif