--- a/QTfrontend/hwform.cpp Mon Sep 26 23:36:00 2016 -0400
+++ b/QTfrontend/hwform.cpp Sat Oct 01 16:45:59 2016 +0200
@@ -1712,7 +1712,7 @@
void HWForm::closeEvent(QCloseEvent *event)
{
config->SaveOptions();
-if VIDEOREC
+#ifdef VIDEOREC
config->SaveVideosOptions();
#endif
event->accept();
--- a/QTfrontend/util/LibavInteraction.cpp Mon Sep 26 23:36:00 2016 -0400
+++ b/QTfrontend/util/LibavInteraction.cpp Sat Oct 01 16:45:59 2016 +0200
@@ -18,7 +18,7 @@
#include "LibavInteraction.h"
-#if VIDEOREC
+#ifdef VIDEOREC
extern "C"
{
#include "libavcodec/avcodec.h"