fix build
authorsheepluva
Sat, 01 Oct 2016 16:45:59 +0200
changeset 11852 d7227dc3b397
parent 11851 5edd66c2d422
child 11853 837f9f1b84a5
fix build
QTfrontend/hwform.cpp
QTfrontend/util/LibavInteraction.cpp
--- 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"