From: ellson Date: Tue, 18 Oct 2005 18:30:23 +0000 (+0000) Subject: avoiding dependencies on pathplan X-Git-Tag: LAST_LIBGRAPH~32^2~7303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4d3be02f4f5cb19cc55a78f94fa99add485cdf7;p=graphviz avoiding dependencies on pathplan --- 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;