From cab8c9aadf8d5ca29a189f36a0b09e63235628c4 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Sat, 17 Mar 2018 03:26:05 +0000 Subject: [PATCH] Fix MSVC build git-svn-id: https://svn.eduke32.com/eduke32@6770 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/include/compat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/build/include/compat.h b/source/build/include/compat.h index 36005b3bc..53f00ab3e 100644 --- a/source/build/include/compat.h +++ b/source/build/include/compat.h @@ -380,6 +380,10 @@ defined __x86_64__ || defined __amd64__ || defined _M_X64 || defined _M_IA64 || # define __STDC_LIMIT_MACROS #endif +#ifndef _USE_MATH_DEFINES +# define _USE_MATH_DEFINES +#endif + #if !defined _MSC_VER || defined __cplusplus # include # include