]> sigrok.org Git - pulseview.git/commitdiff
Build: Fix build with Qt 4 moc
authorDaniel Elstner <redacted>
Fri, 4 Sep 2015 14:02:03 +0000 (16:02 +0200)
committerUwe Hermann <redacted>
Fri, 4 Sep 2015 14:15:10 +0000 (16:15 +0200)
pv/util.hpp

index 5be379035bd875ae4bf3e6636444b89a5903519a..1cf2fe548bab8e725abae5f87d60611575cf0748 100644 (file)
@@ -23,7 +23,9 @@
 
 #include <cmath>
 
+#ifndef Q_MOC_RUN
 #include <boost/multiprecision/cpp_dec_float.hpp>
+#endif
 
 #include <QMetaType>
 #include <QString>