Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2017-03-11 20:21:03 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2017-03-17 21:14:17 +0300
commit45a40bfbfbb113421c67b66330d0176936b892a4 (patch)
tree3e1f148fe75f39bc5ea46ef87c36ab9ca5cf04d4 /qmake/compiler.pri
parent67422bc853dbb10900ab3893a6eb895a2925d826 (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.pri2
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