diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2017-03-11 20:21:03 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2017-03-17 21:14:17 +0300 |
commit | 45a40bfbfbb113421c67b66330d0176936b892a4 (patch) | |
tree | 3e1f148fe75f39bc5ea46ef87c36ab9ca5cf04d4 /qmake/compiler.pri | |
parent | 67422bc853dbb10900ab3893a6eb895a2925d826 (diff) |
compiler.pri: Define "MINGW_HAS_SECURE_API" to enable secure functions
MXE's MinGW has the secure functions disabled by default, because their headers check if "MINGW_HAS_SECURE_API" is defined.
Diffstat (limited to 'qmake/compiler.pri')
-rw-r--r-- | qmake/compiler.pri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake/compiler.pri b/qmake/compiler.pri index 26dff2ce2..2182f62a3 100644 --- a/qmake/compiler.pri +++ b/qmake/compiler.pri @@ -31,6 +31,8 @@ isEqual(QT_MAJOR_VERSION, 5) { } win32-g++ { + DEFINES *= MINGW_HAS_SECURE_API + CONFIG(symbols) { # Configure build to be able to properly debug release builds QMAKE_CFLAGS *= -g |