]> git.lyx.org Git - features.git/blobdiff - development/cmake/config.h.cmake
CMake: fix merged build, seems GCC could not handle the namespaces correctly
[features.git] / development / cmake / config.h.cmake
index ab3e539ef33c44a6f6ee9b103b05761f1578e646..3022bef10efd9768aa11c09e59f799b370c8ece8 100644 (file)
 #cmakedefine PATH_MAX ${PATH_MAX}
 
 #endif
+
+
+// cleanup global namespace
+#ifdef ColorMode
+#undef ColorMode
+#endif
+
+#ifdef FocusOut
+#undef FocusOut
+#endif
+
+#ifdef FocusIn
+#undef FocusIn
+#endif
+
+#ifdef KeyRelease
+#undef KeyRelease
+#endif
+
+#ifdef CursorShape
+#undef CursorShape
+#endif
+
+#ifdef IGNORE
+#undef IGNORE
+#endif
+
+#ifdef GrayScale
+#undef GrayScale
+#endif
+
+#ifdef Status
+#undef Status
+#endif
+