diff --git a/h264bitstream/h264bitstream.pro b/h264bitstream/h264bitstream.pro index fce797b4..4a6328dc 100644 --- a/h264bitstream/h264bitstream.pro +++ b/h264bitstream/h264bitstream.pro @@ -22,6 +22,11 @@ CONFIG += staticlib # Disable warnings CONFIG += warn_off +# Older GCC versions defaulted to GNU89 +*-g++ { + QMAKE_CFLAGS += -std=gnu99 +} + SRC_DIR = $$PWD/h264bitstream SOURCES += \