summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2017-04-07 01:22:33 (GMT)
committerTamir Duberstein <tamird@gmail.com>2017-04-07 01:23:49 (GMT)
commit89468256ec0d9c63b6ed852a90183e70aecbbe3a (patch)
tree6afa334b9459dee7b71c041a52bfa86bda0f24e1 /config
parent9571a97a4d2e3aedc5fa6807a920c619b9467c77 (diff)
MinGW: add --enable-secure-api config option
Without this flag, MinGW does not expose secure variants of functions such as strcpy_s. See https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-headers/crt/sec_api/string_s.h#l11.
Diffstat (limited to 'config')
-rw-r--r--config/libc/mingw.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/libc/mingw.in b/config/libc/mingw.in
index 0f05845..cf41774 100644
--- a/config/libc/mingw.in
+++ b/config/libc/mingw.in
@@ -128,6 +128,10 @@ config WINAPI_VERSION
help
Enter the version number of the Windows API files to use
+config MINGW_SECURE_API
+ bool "Expose secure API prototypes"
+ default y
+
config MINGW_DIRECTX
bool "Include DirectX development files"