Skip to content

Commit

Permalink
Merge pull request #676 from tamird/mingw-secure-api
Browse files Browse the repository at this point in the history
MinGW: add --enable-secure-api config option
  • Loading branch information
stilor committed Apr 7, 2017
2 parents 242c156 + 8946825 commit 16e703a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/libc/mingw.in
Expand Up @@ -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"

Expand Down
5 changes: 5 additions & 0 deletions scripts/build/libc/mingw.sh
Expand Up @@ -40,6 +40,11 @@ do_libc_start_files() {
:) ;;
esac

case "${CT_MINGW_SECURE_API}" in
:y) sdk_opts+=( "--enable-secure-api" );;
:) ;;
esac

CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-headers"

CT_DoLog EXTRA "Configuring Headers"
Expand Down

0 comments on commit 16e703a

Please sign in to comment.