dbf-halloween2015
diff libs/vmath/vmath_config.h @ 1:c3f5c32cb210
barfed all the libraries in the source tree to make porting easier
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 00:36:56 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libs/vmath/vmath_config.h Sun Nov 01 00:36:56 2015 +0200 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) && !defined(__cplusplus) 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_ */