diff options
| author | Bryce Harrington <bryce@bryceharrington.org> | 2008-01-31 19:06:59 +0000 |
|---|---|---|
| committer | bryce <bryce@users.sourceforge.net> | 2008-01-31 19:06:59 +0000 |
| commit | 06d8aaba21496e6a39a7c18dd82e0d3efbeb531c (patch) | |
| tree | b2dec94e06000e9929f24385c60e64f629e4e041 /src/libavoid/router.cpp | |
| parent | r17815@shi: ted | 2008-01-31 08:58:15 -0800 (diff) | |
| download | inkscape-06d8aaba21496e6a39a7c18dd82e0d3efbeb531c.tar.gz inkscape-06d8aaba21496e6a39a7c18dd82e0d3efbeb531c.zip | |
Applying fixes for gcc 4.3 build issues (closes LP: #169115)
(bzr r4629)
Diffstat (limited to '')
| -rw-r--r-- | src/libavoid/router.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libavoid/router.cpp b/src/libavoid/router.cpp index 4b1652ca0..df0bacd02 100644 --- a/src/libavoid/router.cpp +++ b/src/libavoid/router.cpp @@ -17,9 +17,10 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ +#include <cstdlib> #include "libavoid/shape.h" #include "libavoid/router.h" #include "libavoid/visibility.h" @@ -636,7 +637,7 @@ void Router::markConnectors(ShapeRef *shape) if (((int) r_p2.y) != 0) { printf("r_p2.y: %f != 0\n", r_p2.y); - abort(); + std::abort(); } // This might be slightly off. r_p2.y = 0; |
