istereo

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/vmath/vmath_config.h	Thu Sep 08 08:30:42 2011 +0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +#ifndef VMATH_CONFIG_H_
     1.5 +#define VMATH_CONFIG_H_
     1.6 +
     1.7 +#if (__STDC_VERSION__ < 199999)
     1.8 +#if defined(__GNUC__) || defined(_MSC_VER)
     1.9 +#define inline __inline
    1.10 +#else
    1.11 +#define inline
    1.12 +
    1.13 +#ifdef VECTOR_H_
    1.14 +#warning "compiling vector operations without inline, performance might suffer"
    1.15 +#endif	/* VECTOR_H_ */
    1.16 +
    1.17 +#endif	/* gcc/msvc */
    1.18 +#endif	/* not C99 */
    1.19 +
    1.20 +#define SINGLE_PRECISION_MATH
    1.21 +
    1.22 +#endif	/* VMATH_CONFIG_H_ */