1 --- mariadb/include/global.h 2013-03-06 17:06:42.545906061 +0100
2 +++ mariadb/include/global.h 2013-03-07 14:45:03.811128674 +0100
6 #define sgn(a) (((a) < 0) ? -1 : ((a) > 0) ? 1 : 0)
8 #define swap(t,a,b) { register t dummy; dummy = a; a = b; b = dummy; }
10 #define test(a) ((a) ? 1 : 0)
11 #define set_if_bigger(a,b) { if ((a) < (b)) (a)=(b); }
12 #define set_if_smaller(a,b) { if ((a) > (b)) (a)=(b); }
13 --- mariadb/include/my_global.h 2013-03-06 17:06:42.546906037 +0100
14 +++ mariadb/include/my_global.h 2013-03-07 14:44:47.032529753 +0100
18 #define sgn(a) (((a) < 0) ? -1 : ((a) > 0) ? 1 : 0)
20 #define swap(t,a,b) { register t dummy; dummy = a; a = b; b = dummy; }
22 #define test(a) ((a) ? 1 : 0)
23 #define set_if_bigger(a,b) { if ((a) < (b)) (a)=(b); }
24 #define set_if_smaller(a,b) { if ((a) > (b)) (a)=(b); }