aboutsummaryrefslogtreecommitdiff
path: root/config/libc/mingw-w64.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc/mingw-w64.in')
-rw-r--r--config/libc/mingw-w64.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/config/libc/mingw-w64.in b/config/libc/mingw-w64.in
index 2531fef7..58bb4e8c 100644
--- a/config/libc/mingw-w64.in
+++ b/config/libc/mingw-w64.in
@@ -17,6 +17,42 @@ config MINGW_SECURE_API
bool "Expose secure API prototypes"
default y
+choice
+ bool
+ prompt "Default C Runtime to use"
+ default MINGW_DEFAULT_MSVCRT_DEFAULT
+ help
+ See mingw-w64 help for full list of possible values.
+ Most commonly one would want to upgrade this to ucrt
+ for a more modern C runtime.
+ Targeting specific older/newer MSVC versions is possible
+ as well though.
+
+config MINGW_DEFAULT_MSVCRT_DEFAULT
+ bool
+ prompt "Default"
+ help
+ Don't set a default msvcrt, leave decision to mingw.
+
+config MINGW_DEFAULT_MSVCRT_MSVCRT
+ bool
+ prompt "msvcrt"
+
+config MINGW_DEFAULT_MSVCRT_UCRT
+ bool
+ prompt "ucrt"
+
+config MINGW_DEFAULT_MSVCRT_CUSTOM
+ bool
+ prompt "Custom"
+
+endchoice
+
+config MINGW_DEFAULT_MSVCRT
+ string "Custom default C Runtime to use"
+ depends on MINGW_DEFAULT_MSVCRT_CUSTOM
+ default ""
+
config MINGW_DIRECTX
bool "Include DirectX development files"