summaryrefslogtreecommitdiff
path: root/prism/compiler/inline.h
blob: 856a3756917c00bf7d3452db8e40c2d48e523566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/**
 * @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