Fix windows build -- STRICT is a msvc macro

This commit is contained in:
Nyall Dawson 2023-09-03 09:03:44 +10:00
parent cd9c65c12b
commit 6dde6ee503

View File

@ -197,7 +197,7 @@ typedef enum {
typedef enum {
PERMISSIVE,
STRICT
DEFAULT // Strict parsing
} ParseStrictness;
static inline int32_t GetComponentSizeInBytes(uint32_t componentType) {
@ -1562,7 +1562,7 @@ class TinyGLTF {
size_t bin_size_ = 0;
bool is_binary_ = false;
ParseStrictness strictness_ = STRICT;
ParseStrictness strictness_ = DEFAULT;
bool serialize_default_values_ = false; ///< Serialize default values?