3dphotoshoot
annotate libs/vmath/vmath_config.h @ 15:2d48f65da357
assman
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 07 Jun 2015 20:40:37 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@10 | 1 #ifndef VMATH_CONFIG_H_ |
nuclear@10 | 2 #define VMATH_CONFIG_H_ |
nuclear@10 | 3 |
nuclear@10 | 4 #if (__STDC_VERSION__ < 199999) && !defined(__cplusplus) |
nuclear@10 | 5 #if defined(__GNUC__) || defined(_MSC_VER) |
nuclear@10 | 6 #define inline __inline |
nuclear@10 | 7 #else |
nuclear@10 | 8 #define inline |
nuclear@10 | 9 |
nuclear@10 | 10 #ifdef VECTOR_H_ |
nuclear@10 | 11 #warning "compiling vector operations without inline, performance might suffer" |
nuclear@10 | 12 #endif /* VECTOR_H_ */ |
nuclear@10 | 13 |
nuclear@10 | 14 #endif /* gcc/msvc */ |
nuclear@10 | 15 #endif /* not C99 */ |
nuclear@10 | 16 |
nuclear@10 | 17 #define SINGLE_PRECISION_MATH |
nuclear@10 | 18 |
nuclear@10 | 19 #endif /* VMATH_CONFIG_H_ */ |