istereo

annotate libs/vmath/vmath_config.h @ 28:c0ae8e668447

added vmath library
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 08 Sep 2011 08:30:42 +0300
parents
children
rev   line source
nuclear@28 1 #ifndef VMATH_CONFIG_H_
nuclear@28 2 #define VMATH_CONFIG_H_
nuclear@28 3
nuclear@28 4 #if (__STDC_VERSION__ < 199999)
nuclear@28 5 #if defined(__GNUC__) || defined(_MSC_VER)
nuclear@28 6 #define inline __inline
nuclear@28 7 #else
nuclear@28 8 #define inline
nuclear@28 9
nuclear@28 10 #ifdef VECTOR_H_
nuclear@28 11 #warning "compiling vector operations without inline, performance might suffer"
nuclear@28 12 #endif /* VECTOR_H_ */
nuclear@28 13
nuclear@28 14 #endif /* gcc/msvc */
nuclear@28 15 #endif /* not C99 */
nuclear@28 16
nuclear@28 17 #define SINGLE_PRECISION_MATH
nuclear@28 18
nuclear@28 19 #endif /* VMATH_CONFIG_H_ */