MSVC Support fixes.
All checks were successful
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 1m20s

This commit is contained in:
2024-05-21 00:52:02 -07:00
parent ca2223aaee
commit 0c85b8408c
16 changed files with 62 additions and 23 deletions

View File

@@ -7,7 +7,6 @@
//
#include <cstdint>
#include <cmath>
#include <stdfloat>
#include <string>
#include <cassert>
@@ -17,13 +16,11 @@ namespace J3ML::SizedIntegralTypes
using u16 = uint16_t;
using u32 = uint32_t;
using u64 = uint64_t;
using u128 = __uint128_t;
using s8 = int8_t;
using s16 = int16_t;
using s32 = int32_t;
using s64 = int64_t;
using s128 = __int128_t;
}
@@ -39,6 +36,11 @@ namespace J3ML::SizedFloatTypes
using namespace J3ML::SizedIntegralTypes;
using namespace J3ML::SizedFloatTypes;
//On windows there is no shorthand for pi???? - Redacted.
#ifdef _WIN32
#define M_PI 3.14159265358979323846
#endif
namespace J3ML::Math
{