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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to