dbf-halloween2015
annotate libs/vmath/vmath_config.h @ 4:4316c0c879e9
fixed RUN script for macosx
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 06:18:18 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@1 | 1 #ifndef VMATH_CONFIG_H_ |
nuclear@1 | 2 #define VMATH_CONFIG_H_ |
nuclear@1 | 3 |
nuclear@1 | 4 #if (__STDC_VERSION__ < 199999) && !defined(__cplusplus) |
nuclear@1 | 5 #if defined(__GNUC__) || defined(_MSC_VER) |
nuclear@1 | 6 #define inline __inline |
nuclear@1 | 7 #else |
nuclear@1 | 8 #define inline |
nuclear@1 | 9 |
nuclear@1 | 10 #ifdef VECTOR_H_ |
nuclear@1 | 11 #warning "compiling vector operations without inline, performance might suffer" |
nuclear@1 | 12 #endif /* VECTOR_H_ */ |
nuclear@1 | 13 |
nuclear@1 | 14 #endif /* gcc/msvc */ |
nuclear@1 | 15 #endif /* not C99 */ |
nuclear@1 | 16 |
nuclear@1 | 17 #define SINGLE_PRECISION_MATH |
nuclear@1 | 18 |
nuclear@1 | 19 #endif /* VMATH_CONFIG_H_ */ |