diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-26 03:42:47 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-26 03:42:47 +0300 |
commit | 5b320e5a245f2b54743662ade3894f0a4d66750d (patch) | |
tree | e9bca594210906a0324d2c9bfc390eac89c7a1a3 | |
parent | 8a68f4f80814a28d68055a0ae0b22a7efe1c2619 (diff) |
Fix undefined 'uint' for macOS/WIN32
-rw-r--r-- | intern/sky/source/sky_model.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |