1*741d9cb6SMasatake YAMATO /* 2*741d9cb6SMasatake YAMATO * 3*741d9cb6SMasatake YAMATO * Copyright (c) 2016, 2017 Matthew Brush 4*741d9cb6SMasatake YAMATO * 5*741d9cb6SMasatake YAMATO * 6*741d9cb6SMasatake YAMATO * This source code is released for free distribution under the terms of the 7*741d9cb6SMasatake YAMATO * GNU General Public License version 2 or (at your option) any later version. 8*741d9cb6SMasatake YAMATO * 9*741d9cb6SMasatake YAMATO */ 10*741d9cb6SMasatake YAMATO 11*741d9cb6SMasatake YAMATO #ifndef CTAGS_MAIN_INLINE_H 12*741d9cb6SMasatake YAMATO #define CTAGS_MAIN_INLINE_H 13*741d9cb6SMasatake YAMATO 14*741d9cb6SMasatake YAMATO #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 15*741d9cb6SMasatake YAMATO # define CTAGS_INLINE static inline 16*741d9cb6SMasatake YAMATO #elif defined(_MSC_VER) 17*741d9cb6SMasatake YAMATO # define CTAGS_INLINE static __inline 18*741d9cb6SMasatake YAMATO #elif defined(__GNUC__) || defined(__clang__) 19*741d9cb6SMasatake YAMATO # define CTAGS_INLINE static __inline__ 20*741d9cb6SMasatake YAMATO // #elif ... other compilers/tests here ... 21*741d9cb6SMasatake YAMATO // # define CTAGS_INLINE ... 22*741d9cb6SMasatake YAMATO #else 23*741d9cb6SMasatake YAMATO # define CTAGS_INLINE static 24*741d9cb6SMasatake YAMATO #endif 25*741d9cb6SMasatake YAMATO 26*741d9cb6SMasatake YAMATO #endif /* CTAGS_MAIN_INLINE_H */ 27