summaryrefslogtreecommitdiff
blob: 11b03ace9b200afacc9c5323b4fc9de824ee1eb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
diff -ur moagg.old/libMoaggCore/include/Exception.h moagg-0.18/libMoaggCore/include/Exception.h
--- moagg.old/libMoaggCore/include/Exception.h	2005-04-17 09:40:18.000000000 +0000
+++ moagg-0.18/libMoaggCore/include/Exception.h	2007-05-07 18:14:44.000000000 +0000
@@ -1,7 +1,7 @@
 #ifndef EXCEPTION_H
 #define EXCEPTION_H
 
-#include <iosfwd>
+#include <iostream>
 #include <string>
 
 //----------------------------------------------------------------------------
diff -ur moagg.old/libMoaggCore/include/MathTools.h moagg-0.18/libMoaggCore/include/MathTools.h
--- moagg.old/libMoaggCore/include/MathTools.h	2005-04-17 09:40:18.000000000 +0000
+++ moagg-0.18/libMoaggCore/include/MathTools.h	2007-05-07 18:24:52.000000000 +0000
@@ -62,6 +62,8 @@
         double m_x;
         double m_y;
     };
+    Vector operator+(const Vector &v1, const Vector &v2);
+    Vector operator-(const Vector &v1, const Vector &v2);
 
 
     //------------------------------------------------------------------------
diff -ur moagg.old/libMoaggCore/include/Tools.h moagg-0.18/libMoaggCore/include/Tools.h
--- moagg.old/libMoaggCore/include/Tools.h	2005-04-17 09:40:18.000000000 +0000
+++ moagg-0.18/libMoaggCore/include/Tools.h	2007-05-16 19:08:35.000000000 +0000
@@ -34,13 +34,8 @@
 
 
 //----------------------------------------------------------------------------
-#if defined __GNUC__ && ! defined __LINT__
-#define MIN(X, Y) ((X) <? (Y))
-#define MAX(X, Y) ((X) >? (Y))
-#else
 #define MIN(X, Y) ((X) < (Y) ? (X) : (Y))
 #define MAX(X, Y) ((X) > (Y) ? (X) : (Y))
-#endif //!__GNUC__
 
 //----------------------------------------------------------------------------
 #define ZAP_POINTER(p) delete p; p = NULL;