From c1e7496d21a0cf6cea420804723137adffd29213 Mon Sep 17 00:00:00 2001 From: Godzil Date: Mon, 17 Feb 2020 22:18:59 +0000 Subject: [PATCH] Fix a glib problem on some distros. --- source/include/matrix.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/include/matrix.h b/source/include/matrix.h index 4a9806b..24bc5a0 100644 --- a/source/include/matrix.h +++ b/source/include/matrix.h @@ -11,6 +11,14 @@ #include +/* 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: