dbf-halloween2015
diff libs/vmath/vmath.h @ 3:c37fe5d8a4ed
windows port
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 06:04:28 +0200 |
parents | c3f5c32cb210 |
children |
line diff
1.1 --- a/libs/vmath/vmath.h Sun Nov 01 00:51:36 2015 +0200 1.2 +++ b/libs/vmath/vmath.h Sun Nov 01 06:04:28 2015 +0200 1.3 @@ -48,7 +48,7 @@ 1.4 #define MAX(a, b) ((a) > (b) ? (a) : (b)) 1.5 #endif 1.6 1.7 -#ifndef __GNUC__ 1.8 +#if !defined(__GNUC__) && (!defined(_MSC_VER) || _MSC_VER < 1800) 1.9 #define round(x) ((x) >= 0 ? (x) + 0.5 : (x) - 0.5) 1.10 #endif 1.11