mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-05 01:26:17 -04:00
Add guards around std library headers (#3013)
* Last fix for standard compiler error * adding define guards around headers * rename cmath.h and climits.h to cmath and climits respectively * renaming cstdarg.h to cstdarg * renaming cstdlib.h to cstdlib * renaming cstring.h to cstring * renaming cstdio.h to cstdio * renaming cmath locale ctype * renaming stdarg string and va_list * renaming cstddef * renaming stdio stddef stdlib * renaming algorithm, functional, iterator, memory, and utility * renaming bitset, cstdint, limits, and stdint * renaming new and type_traits * update quote includes for standard library headers to angle bracket includes
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "d/d_resorce.h"
|
||||
#include "d/d_s_play.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <math>
|
||||
|
||||
/**
|
||||
* @ingroup actors-objects
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#define D_MENU_D_MENU_DMAP_MAP_H
|
||||
|
||||
#include "d/d_menu_dmap.h"
|
||||
#include <math.h>
|
||||
#include <math>
|
||||
|
||||
class dMenu_DmapMap_c {
|
||||
public:
|
||||
|
||||
@@ -42,7 +42,9 @@ public:
|
||||
return --mCount;
|
||||
}
|
||||
|
||||
#ifdef __MWERKS__
|
||||
static const int NAME_MAX = 9;
|
||||
#endif
|
||||
|
||||
private:
|
||||
/* 0x00 */ char mArchiveName[11];
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#ifndef D_SAVE_D_SAVE_H
|
||||
#define D_SAVE_D_SAVE_H
|
||||
|
||||
#include "string.h"
|
||||
#include <string>
|
||||
#include "SSystem/SComponent/c_xyz.h"
|
||||
#include <dolphin/os.h>
|
||||
#include "global.h"
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
#include "weak_bss_1109_to_1009.h" // IWYU pragma: export
|
||||
|
||||
// Fixes weak .data
|
||||
#include "cmath.h" // IWYU pragma: export
|
||||
#include <cmath> // IWYU pragma: export
|
||||
#include "JSystem/J3DGraphBase/J3DMatBlock.h" // IWYU pragma: export
|
||||
#include "Z2AudioLib/Z2Calc.h" // IWYU pragma: export
|
||||
|
||||
// Fixes weak function ordering
|
||||
#include "math.h" // IWYU pragma: export
|
||||
#include "cstring.h" // IWYU pragma: export
|
||||
#include <math> // IWYU pragma: export
|
||||
#include <cstring> // IWYU pragma: export
|
||||
#include "JSystem/JKernel/JKRDisposer.h" // IWYU pragma: export
|
||||
#include "JSystem/J3DGraphBase/J3DPacket.h" // IWYU pragma: export
|
||||
#include "JSystem/J3DGraphAnimator/J3DMaterialAnm.h" // IWYU pragma: export
|
||||
|
||||
Reference in New Issue
Block a user