From 10371a88483663b90460232d85048d5bb75fcf92 Mon Sep 17 00:00:00 2001 From: mr Date: Sat, 28 Aug 2004 08:46:40 +0000 Subject: Fix compilation with gcc-3.4 Submitted by: Tilman Linneweh --- cad/qcad/files/patch-rs_math.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cad/qcad/files/patch-rs_math.h (limited to 'cad/qcad/files') diff --git a/cad/qcad/files/patch-rs_math.h b/cad/qcad/files/patch-rs_math.h new file mode 100644 index 000000000000..4cab00958ea2 --- /dev/null +++ b/cad/qcad/files/patch-rs_math.h @@ -0,0 +1,14 @@ +--- qcadlib/src/math/rs_math.h.orig Sat Aug 21 20:00:56 2004 ++++ qcadlib/src/math/rs_math.h Sat Aug 21 20:07:09 2004 +@@ -45,8 +45,9 @@ + #include "rs_vector.h" + + #ifdef __GNUC__ +-#define min(x,y) (xy ? x : y) ++//#define min(x,y) (xy ? x : y) ++using namespace std; + #endif + + #define ARAD 57.29577951308232 -- cgit