From c4d3be02f4f5cb19cc55a78f94fa99add485cdf7 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 18 Oct 2005 18:30:23 +0000 Subject: [PATCH] avoiding dependencies on pathplan --- lib/pathplan/pathgeom.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/pathplan/pathgeom.h b/lib/pathplan/pathgeom.h index 07c289312..512b49900 100644 --- a/lib/pathplan/pathgeom.h +++ b/lib/pathplan/pathgeom.h @@ -22,12 +22,17 @@ extern "C" { #endif +#ifdef HAVE_POINTF_S + typedef struct pointf_s Ppoint_t; + typedef struct pointf_s Pvector_t; +#else typedef struct Pxy_t { double x, y; } Pxy_t; typedef struct Pxy_t Ppoint_t; typedef struct Pxy_t Pvector_t; +#endif typedef struct Ppoly_t { Ppoint_t *ps; -- 2.50.1