aboutsummaryrefslogtreecommitdiff
path: root/.patch/reshade/0001-from-chars-fallback.patch
blob: 9089b1b9d4f9322cac959ad7847b4808aad9d677 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/source/effect_lexer.cpp
+++ b/source/effect_lexer.cpp
@@ -1181,7 +1181,7 @@
 	}
 	else
 	{
-#if 0
+#if !defined(__cpp_lib_to_chars)
 		exponent += decimal_location - mantissa_size;
 
 		const bool exponent_negative = exponent < 0;