[Bf-blender-cvs] [5b320e5a245] master: Fix undefined 'uint' for macOS/WIN32

Campbell Barton noreply at git.blender.org
Mon Sep 26 02:44:02 CEST 2022


Commit: 5b320e5a245f2b54743662ade3894f0a4d66750d
Author: Campbell Barton
Date:   Mon Sep 26 10:42:47 2022 +1000
Branches: master
https://developer.blender.org/rB5b320e5a245f2b54743662ade3894f0a4d66750d

Fix undefined 'uint' for macOS/WIN32

===================================================================

M	intern/sky/source/sky_model.cpp

===================================================================

diff --git a/intern/sky/source/sky_model.cpp b/intern/sky/source/sky_model.cpp
index 9fb80202c98..4dd9fd11925 100644
--- a/intern/sky/source/sky_model.cpp
+++ b/intern/sky/source/sky_model.cpp
@@ -105,6 +105,9 @@ All instructions on how to use this code are in the accompanying header file.
 #  define ALLOC(_struct) ((_struct *)malloc(sizeof(_struct)))
 #endif
 
+/* Not defined on all platforms (macOS & WIN32). */
+typedef unsigned int uint;
+
 // internal definitions
 
 typedef const double *ArHosekSkyModel_Dataset;



More information about the Bf-blender-cvs mailing list