void-packages/srcpkgs/DarkRadiant/patches/32.patch

21 lines
459 B
Diff

--- DarkRadiant-2.14.0/radiantcore/model/import/openfbx/ofbx.h 2021-10-30 12:57:00.000000000 +0200
+++ - 2021-12-07 14:04:32.530489783 +0100
@@ -1,5 +1,5 @@
#pragma once
-
+#include <cinttypes>
namespace ofbx
{
@@ -12,8 +12,8 @@
typedef long long i64;
typedef unsigned long long u64;
#else
- typedef long i64;
- typedef unsigned long u64;
+ typedef int64_t i64;
+ typedef uint64_t u64;
#endif
static_assert(sizeof(u8) == 1, "u8 is not 1 byte");