With a modern compiler, the inline keyword is more or less ignored and the
compiler makes a (usually better) decision itself.
#include <common/geom.h>
#include <common/geomprocs.h>
-#ifdef _WIN32
-#define inline
-#endif
box mkbox(point p, point q)
{
}
return -1;
}
-#ifdef WIN32_STATIC
-#define inline
-#endif
+
void rect2poly(pointf *p)
{
p[3].x = p[2].x = p[1].x;
return p;
}
-inline box flip_rec_box(box b, point p)
+box flip_rec_box(box b, point p)
{
box r;
/* flip box */
return r;
}
-#ifdef WIN32_STATIC
-#undef inline
-#endif
-
-
#define SMALL 0.0000000001
/* ptToLine2: