summaryrefslogtreecommitdiff
path: root/packages/elitaire/files/math.patch
blob: 550507f370c2d0e8baf07a1b2b8a69681fb96467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- elitaire-0.0.4/src/Elitaire.h~	2005-08-15 06:32:32.000000000 -0700
+++ elitaire-0.0.4/src/Elitaire.h	2005-09-29 19:19:25.000000000 -0700
@@ -3,6 +3,11 @@
 #include<Evas.h>
 #include<Edje.h>
 #include"intl.h"
+#include<tgmath.h>
+
+#ifndef ABS
+#define ABS(x) ((x) >= 0 ? (x) : -(x))
+#endif
 
 struct Elitaire{