26 lines
753 B
Diff
26 lines
753 B
Diff
From e321d7c90a2c706a521a3afd8913af36b121dc9e Mon Sep 17 00:00:00 2001
|
|
From: Attila Afra <attila.t.afra@intel.com>
|
|
Date: Sat, 11 Apr 2020 22:53:30 +0300
|
|
Subject: [PATCH] fixed compile error for future ISPC versions
|
|
|
|
---
|
|
core/math.ih | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git core/math.ih core/math.ih
|
|
index 37ee9629..353d6cfb 100644
|
|
--- core/math.ih
|
|
+++ core/math.ih
|
|
@@ -7,10 +7,12 @@
|
|
// Types
|
|
// -----------------------------------------------------------------------------
|
|
|
|
+#ifndef ISPC_UINT_IS_DEFINED
|
|
typedef unsigned int8 uint8;
|
|
typedef unsigned int16 uint16;
|
|
typedef unsigned int32 uint32;
|
|
typedef unsigned int64 uint64;
|
|
+#endif
|
|
|
|
// -----------------------------------------------------------------------------
|
|
// Constants
|