DarkRadiant: fix 32bit systems
This commit is contained in:
parent
a58989696e
commit
80a5474127
1 changed files with 20 additions and 0 deletions
20
srcpkgs/DarkRadiant/patches/32.patch
Normal file
20
srcpkgs/DarkRadiant/patches/32.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- 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");
|
Loading…
Reference in a new issue