diff options
| author | bgaldrikian <[email protected]> | 2018-10-03 17:51:20 -0700 |
|---|---|---|
| committer | bgaldrikian <[email protected]> | 2018-10-03 17:51:20 -0700 |
| commit | 6f51c0ad55f3ed33597b8b12391d426fe28a0923 (patch) | |
| tree | b132a8cb2485820ff9556dafc8e874bc9d41f255 /sdk/common/NvBlastPreprocessorInternal.h | |
| parent | Fixes to UnitySample to make it build & run. ( In Unity 2018.2 ) (diff) | |
| download | blast-6f51c0ad55f3ed33597b8b12391d426fe28a0923.tar.xz blast-6f51c0ad55f3ed33597b8b12391d426fe28a0923.zip | |
Blast 1.1.4. See docs/release_notes.txt.v1.1.4_rc1
Diffstat (limited to 'sdk/common/NvBlastPreprocessorInternal.h')
| -rwxr-xr-x | sdk/common/NvBlastPreprocessorInternal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sdk/common/NvBlastPreprocessorInternal.h b/sdk/common/NvBlastPreprocessorInternal.h index 793e542..8af5243 100755 --- a/sdk/common/NvBlastPreprocessorInternal.h +++ b/sdk/common/NvBlastPreprocessorInternal.h @@ -60,4 +60,13 @@ Macros for more convenient logging #endif
+/**
+Convenience macro to replace deprecated UINT32_MAX
+*/
+#ifndef UINT32_MAX
+#include <limits>
+#define UINT32_MAX (std::numeric_limits<uint32_t>::max())
+#endif
+
+
#endif // ifndef NVBLASTPREPROCESSORINTERNAL_H
|