goat3d

diff libs/vmath/vmath_config.h @ 27:4deb0b12fe14

wtf... corrupted heap?
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 29 Sep 2013 08:20:19 +0300
parents
children 9ba3e2fb8a33
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/vmath/vmath_config.h	Sun Sep 29 08:20:19 2013 +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_ */