Fix build on GCC 4.x and lower

This commit is contained in:
Cameron Gutman 2018-07-21 19:33:44 -07:00
parent 1117c49867
commit a97e4babf9

View File

@ -59,3 +59,8 @@ INCLUDEPATH += \
$$COMMON_C_DIR/src
CONFIG += warn_off staticlib
DEFINES += HAS_SOCKLEN_T
# Older GCC versions defaulted to GNU89
*-g++ {
QMAKE_CFLAGS += -std=gnu99
}