dungeon_crawler
view prototype/vmath/vmath_config.h @ 66:6a471c87f9ca
- added visual studio project files
- changed some __func__ into __FUNCTION__ to compile on visual studio
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 07 Oct 2012 00:19:48 +0200 |
parents | 96de911d05d4 |
children |
line source
1 #ifndef VMATH_CONFIG_H_
2 #define VMATH_CONFIG_H_
4 #if (__STDC_VERSION__ < 199999) && !defined(__cplusplus)
5 #if defined(__GNUC__) || defined(_MSC_VER)
6 #define inline __inline
7 #else
8 #define inline
10 #ifdef VECTOR_H_
11 #warning "compiling vector operations without inline, performance might suffer"
12 #endif /* VECTOR_H_ */
14 #endif /* gcc/msvc */
15 #endif /* not C99 */
17 #define SINGLE_PRECISION_MATH
19 #endif /* VMATH_CONFIG_H_ */