mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix build on GCC 4.x and lower
This commit is contained in:
@@ -59,3 +59,8 @@ INCLUDEPATH += \
|
|||||||
$$COMMON_C_DIR/src
|
$$COMMON_C_DIR/src
|
||||||
CONFIG += warn_off staticlib
|
CONFIG += warn_off staticlib
|
||||||
DEFINES += HAS_SOCKLEN_T
|
DEFINES += HAS_SOCKLEN_T
|
||||||
|
|
||||||
|
# Older GCC versions defaulted to GNU89
|
||||||
|
*-g++ {
|
||||||
|
QMAKE_CFLAGS += -std=gnu99
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user