summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-12-24 16:54:21 -0800
committerGitHub <noreply@github.com>2025-12-24 16:54:21 -0800
commitcefe919b8d39cb5b60d79b1dc7452e80abdf9657 (patch)
tree10dd6dc6ea2141978d64bfcb2a042a1a0eabc47e /include
parent8a478c5ebed40998659357dae0b8047af9f2050f (diff)
msl_c mostly matching for wii/shield (#2994)
Diffstat (limited to 'include')
-rw-r--r--include/global.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/global.h b/include/global.h
index bd726e2e07..ab207f43d3 100644
--- a/include/global.h
+++ b/include/global.h
@@ -31,6 +31,8 @@
#define DEBUG 0
#endif
+#define MSL_INLINE inline
+
#define ARRAY_SIZE(o) (s32)(sizeof(o) / sizeof(o[0]))
#define ARRAY_SIZEU(o) (sizeof(o) / sizeof(o[0]))
@@ -87,11 +89,6 @@ void* __memcpy(void*, const void*, int);
#define POINTER_ADD(ptr_, offset_) POINTER_ADD_TYPE(__typeof__(ptr_), ptr_, offset_)
// floating-point constants
-#define _HUGE_ENUF 1e+300
-#define INFINITY ((float)(_HUGE_ENUF * _HUGE_ENUF))
-#define HUGE_VAL ((double)INFINITY)
-#define HUGE_VALL ((long double)INFINITY)
-#define DOUBLE_INF HUGE_VAL
static const float INF = 2000000000.0f;
// hack to make strings with no references compile properly