Browse Source

Fix a glib problem on some distros.

Godzil 4 years ago
parent
commit
c1e7496d21
1 changed files with 8 additions and 0 deletions
  1. 8 0
      source/include/matrix.h

+ 8 - 0
source/include/matrix.h

@@ -11,6 +11,14 @@
 
 #include <tuple.h>
 
+/* Some **** linux distro seems to define "minor" as a macro
+ * and wreak havoc.
+ * Let's make sure we are clean here 
+ */
+#ifdef minor
+#undef minor
+#endif
+
 class Matrix
 {
 protected: