Skip to content

Commit 488da08

Browse files
committed
0.1.11 - add /D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR flag for msvc
1 parent e2ee9bc commit 488da08

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: astc_encoder/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The exception is aarch64, which uses the neon encoder by default.
77
"""
88

9-
__version__ = "0.1.10"
9+
__version__ = "0.1.11"
1010

1111
from .enum import (
1212
ASTCConfigFlags as ASTCConfigFlags,

Diff for: setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ def build_extensions(self):
124124
"/EHsc",
125125
"/W4",
126126
"/fp:precise",
127+
# msvc runtime version incompatibility fix
128+
"/D_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR",
127129
]
128130
# not in the astc-encoder CMakeLists.txt
129131
# even tho it should improve performance

0 commit comments

Comments
 (0)