summaryrefslogtreecommitdiff
path: root/include/d
diff options
context:
space:
mode:
authorkipcode66 <kipcode66@gmail.com>2026-01-12 17:48:25 -0500
committerGitHub <noreply@github.com>2026-01-13 00:48:25 +0200
commitdd03bf861fdc92109c57d58cc7436066a8a02430 (patch)
treecd4044941bb8f661d3b5c018ed94cb18ff650cc6 /include/d
parent53aaed17c0a635c8f5542c2b2aeaa65f63c734c4 (diff)
standard compiler compatibility changes (#3040)
* move math to cmath * replace stdarg to cstdarg * change stdint to stdint.h * minor fixes * change stdio to cstdio * change stdlib to stdlib * renamed ctype to cctype * fix missing argument for UNSET_FLAG
Diffstat (limited to 'include/d')
-rw-r--r--include/d/actor/d_a_obj_dust.h2
-rw-r--r--include/d/d_menu_dmap_map.h2
-rw-r--r--include/d/dolzel_base.pch2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/d/actor/d_a_obj_dust.h b/include/d/actor/d_a_obj_dust.h
index 8f00781e8c..4ce26227b3 100644
--- a/include/d/actor/d_a_obj_dust.h
+++ b/include/d/actor/d_a_obj_dust.h
@@ -11,7 +11,7 @@
#include "d/d_resorce.h"
#include "d/d_s_play.h"
-#include <math>
+#include <cmath>
/**
* @ingroup actors-objects
diff --git a/include/d/d_menu_dmap_map.h b/include/d/d_menu_dmap_map.h
index 311448c72b..f1a5432391 100644
--- a/include/d/d_menu_dmap_map.h
+++ b/include/d/d_menu_dmap_map.h
@@ -2,7 +2,7 @@
#define D_MENU_D_MENU_DMAP_MAP_H
#include "d/d_menu_dmap.h"
-#include <math>
+#include <cmath>
class dMenu_DmapMap_c {
public:
diff --git a/include/d/dolzel_base.pch b/include/d/dolzel_base.pch
index eb6533d44e..ac3dbb96d3 100644
--- a/include/d/dolzel_base.pch
+++ b/include/d/dolzel_base.pch
@@ -10,7 +10,7 @@
#include "Z2AudioLib/Z2Calc.h" // IWYU pragma: export
// Fixes weak function/RTTI ordering
-#include <math> // IWYU pragma: export
+#include <cmath> // IWYU pragma: export
#include <cstring> // IWYU pragma: export
#include "Z2AudioLib/Z2AudioArcLoader.h" // IWYU pragma: export
#include "JSystem/JAudio2/JAUStreamAramMgr.h" // IWYU pragma: export