}
return -1;
}
-
-inline void rect2poly(pointf *p)
+#ifdef WIN32_STATIC
+#define inline
+#endif
+void rect2poly(pointf *p)
{
p[3].x = p[2].x = p[1].x;
p[2].y = p[1].y;
return r;
}
-inline boxf flip_rec_boxf(boxf b, pointf p)
+boxf flip_rec_boxf(boxf b, pointf p)
{
boxf r;
/* flip box */
return r;
}
+#ifdef WIN32_STATIC
+#undef inline
+#endif
+
+
#define SMALL 0.0000000001
/* ptToLine2:
extern int line_intersect (pointf a, pointf b, pointf c, pointf d, pointf* p);
+#ifdef WIN32_STATIC
+#define inline __inline
+#endif
+
+
static inline point pointof(int x, int y)
{
point r;
r.y = c * p.y;
return r;
}
+#ifdef WIN32_STATIC
+#undef inline
+#endif
+
#undef extern
#ifdef __cplusplus
}
GD_flags(g) |= et;
}
+#ifndef WIN32_STATIC
#ifndef HAVE_STRCASECMP
+
#include <string.h>
#include <ctype.h>
}
#endif /* HAVE_STRCASECMP */
+#endif /*WIN32_STATIC*/
-#ifndef HAVE_STRNCASECMP
-
+#ifndef WIN32_STATIC
+#ifndef HAVE_STRCASECMP
#include <string.h>
#include <ctype.h>
}
#endif /* HAVE_STRNCASECMP */
-
+#endif
void gv_free_splines(edge_t * e)
{
int i;