istereo2
annotate libs/vmath/vmath_config.h @ 35:643f4ab609a4
added readme and license
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 31 Oct 2015 05:45:35 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@2 | 1 #ifndef VMATH_CONFIG_H_ |
nuclear@2 | 2 #define VMATH_CONFIG_H_ |
nuclear@2 | 3 |
nuclear@2 | 4 #if (__STDC_VERSION__ < 199999) |
nuclear@2 | 5 #if defined(__GNUC__) || defined(_MSC_VER) |
nuclear@2 | 6 #define inline __inline |
nuclear@2 | 7 #else |
nuclear@2 | 8 #define inline |
nuclear@2 | 9 |
nuclear@2 | 10 #ifdef VECTOR_H_ |
nuclear@2 | 11 #warning "compiling vector operations without inline, performance might suffer" |
nuclear@2 | 12 #endif /* VECTOR_H_ */ |
nuclear@2 | 13 |
nuclear@2 | 14 #endif /* gcc/msvc */ |
nuclear@2 | 15 #endif /* not C99 */ |
nuclear@2 | 16 |
nuclear@2 | 17 #define SINGLE_PRECISION_MATH |
nuclear@2 | 18 |
nuclear@2 | 19 #endif /* VMATH_CONFIG_H_ */ |