]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiHyperlink.cpp
CMake: fix merged build, seems GCC could not handle the namespaces correctly
[features.git] / src / frontends / qt4 / GuiHyperlink.cpp
index 8323b65ff3d3f1f625f602fbfa9f53bbfcc5bdca..60b0fe430ed804e18a080c49bd5d7ca45c90f1aa 100644 (file)
 #include <QLineEdit>
 #include <QPushButton>
 
+#ifdef LYX_MERGED_BUILD
+// GCC couldn't find operator==
+namespace lyx {
+       bool operator==(lyx::docstring & d, char const * c) 
+               { return lyx::operator ==(d, c); }
+       namespace frontend {
+               bool operator==(lyx::docstring & d, char const * c) 
+                 { return lyx::operator ==(d, c); }
+       }
+}
+#endif
+
 
 namespace lyx {
 namespace frontend {