goat3d

annotate libs/vmath/vmath_config.h @ 39:0e48907847ad

slugishly progressing with the blender exporter
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 09 Oct 2013 16:40:59 +0300
parents 4deb0b12fe14
children
rev   line source
nuclear@27 1 #ifndef VMATH_CONFIG_H_
nuclear@27 2 #define VMATH_CONFIG_H_
nuclear@27 3
nuclear@28 4 #ifdef __cplusplus
nuclear@28 5 #define VMATH_INLINE inline
nuclear@28 6 #elif (__STDC_VERSION__ < 199999)
nuclear@27 7 #if defined(__GNUC__) || defined(_MSC_VER)
nuclear@28 8 #define VMATH_INLINE __inline
nuclear@27 9 #else
nuclear@28 10 #define VMATH_INLINE
nuclear@27 11
nuclear@27 12 #ifdef VECTOR_H_
nuclear@27 13 #warning "compiling vector operations without inline, performance might suffer"
nuclear@27 14 #endif /* VECTOR_H_ */
nuclear@27 15
nuclear@27 16 #endif /* gcc/msvc */
nuclear@27 17 #endif /* not C99 */
nuclear@27 18
nuclear@27 19 #define SINGLE_PRECISION_MATH
nuclear@27 20
nuclear@27 21 #endif /* VMATH_CONFIG_H_ */