inlucde cmath directly in doomdef

need to check if this breaks windoze again tho Zzz....
This commit is contained in:
Alug committed 2025-07-01 15:47:41 +02:00
1 parent 0dbe7ba893
commit b948e9c708
2 files changed
+4 -2

No files matched your search

+4
View File
@@ -70,7 +70,11 @@ extern "C" {
#include <string.h>
#define _USE_MATH_DEFINES // fixes M_PI errors in r_plane.c for Visual Studio
#ifdef __cplusplus
#include <cmath>
#else
#include <math.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
-2
View File
@@ -14,8 +14,6 @@
#ifdef HWRENDER
#include <algorithm>
#define _USE_MATH_DEFINES
#include <cmath>
#include "../doomstat.h"
#include "../doomdef.h"