[vlmc-devel] AbstractRenderer: Wrap inclusion of config.h with HAVE_CONFIG_H

Yikai Lu git at videolan.org
Wed May 31 09:01:28 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed May 31 15:08:32 2017 +0900| [4558e837b7f1283fe221c6b6056fbf0e0bc5e3b4] | committer: Yikai Lu

AbstractRenderer: Wrap inclusion of config.h with HAVE_CONFIG_H

> https://code.videolan.org/videolan/vlmc/commit/4558e837b7f1283fe221c6b6056fbf0e0bc5e3b4
---

 src/Renderer/AbstractRenderer.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Renderer/AbstractRenderer.h b/src/Renderer/AbstractRenderer.h
index 5c6f3917..01b8c2a5 100644
--- a/src/Renderer/AbstractRenderer.h
+++ b/src/Renderer/AbstractRenderer.h
@@ -24,7 +24,9 @@
 #ifndef ABSTRACTRENDERER_H
 #define ABSTRACTRENDERER_H
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
 #include <memory>
 #include <QObject>
 



More information about the Vlmc-devel mailing list