Signed-off-by: Kacper Michajłow <[email protected]>
---
mingw-w64-headers/crt/stdio.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mingw-w64-headers/crt/stdio.h b/mingw-w64-headers/crt/stdio.h
index 5a121bb0f..b8b446686 100644
--- a/mingw-w64-headers/crt/stdio.h
+++ b/mingw-w64-headers/crt/stdio.h
@@ -74,7 +74,11 @@ extern "C" {
#define FILENAME_MAX 260
#define FOPEN_MAX 20
#define _SYS_OPEN 20
+#ifdef _UCRT
+#define TMP_MAX 2147483647
+#else
#define TMP_MAX 32767
+#endif
#ifndef NULL
#ifdef __cplusplus
--
2.34.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public