vrshoot
annotate libs/vmath/vmath_config.h @ 2:334d17aed7de
visual studio project files
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Feb 2014 18:36:38 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef VMATH_CONFIG_H_ |
nuclear@0 | 2 #define VMATH_CONFIG_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #if (__STDC_VERSION__ < 199999) && !defined(__cplusplus) |
nuclear@0 | 5 #if defined(__GNUC__) || defined(_MSC_VER) |
nuclear@0 | 6 #define inline __inline |
nuclear@0 | 7 #else |
nuclear@0 | 8 #define inline |
nuclear@0 | 9 |
nuclear@0 | 10 #ifdef VECTOR_H_ |
nuclear@0 | 11 #warning "compiling vector operations without inline, performance might suffer" |
nuclear@0 | 12 #endif /* VECTOR_H_ */ |
nuclear@0 | 13 |
nuclear@0 | 14 #endif /* gcc/msvc */ |
nuclear@0 | 15 #endif /* not C99 */ |
nuclear@0 | 16 |
nuclear@0 | 17 #define SINGLE_PRECISION_MATH |
nuclear@0 | 18 |
nuclear@0 | 19 #endif /* VMATH_CONFIG_H_ */ |