mirror of
https://github.com/ruby/ruby.git
synced 2026-08-01 02:20:48 +08:00
18 lines
343 B
C
18 lines
343 B
C
/**
|
|
* @file compiler/inline.h
|
|
*/
|
|
#ifndef PRISM_COMPILER_INLINE_H
|
|
#define PRISM_COMPILER_INLINE_H
|
|
|
|
/**
|
|
* Old Visual Studio versions do not support the inline keyword, so we need to
|
|
* define it to be __inline.
|
|
*/
|
|
#if defined(_MSC_VER) && !defined(inline)
|
|
# define PRISM_INLINE __inline
|
|
#else
|
|
# define PRISM_INLINE inline
|
|
#endif
|
|
|
|
#endif
|