Commit 0f261a5e authored by Tom Barbalet's avatar Tom Barbalet

Update for Windows

parent 7f33131e
......@@ -61,7 +61,7 @@ typedef double n_double;
#define SINE_MAXIMUM (26880)
#define BIG_INTEGER (2147483647)
#define BIG_NEGATIVE_INTEGER (-2147483648)
#define BIG_NEGATIVE_INTEGER (0-2147483648)
#define NOTHING (0L)
......@@ -408,9 +408,9 @@ void vect2_rotation(n_vect2 * location, n_vect2 * rotation);
void vect2_rotation_bitshift(n_vect2 * location, n_vect2 * rotation);
n_int vect2_nonzero(n_vect2 * nonzero);
#ifndef _WIN32
n_vect2 * vect2_min_max_init(void);
#endif
void vect2_min_max(n_vect2 * points, n_int number, n_vect2 * maxmin);
void vect2_scalar_multiply(n_vect2 * value, n_int multiplier);
......
......@@ -374,7 +374,6 @@ n_int vect2_nonzero(n_vect2 * nonzero)
return ((nonzero->x != 0) || (nonzero->y != 0));
}
#ifndef _WIN32
n_vect2 * vect2_min_max_init(void)
{
n_vect2 * min_max = memory_new(2 * sizeof(n_vect2));
......@@ -386,7 +385,6 @@ n_vect2 * vect2_min_max_init(void)
vect2_populate(&min_max[1], BIG_NEGATIVE_INTEGER, BIG_NEGATIVE_INTEGER);
return min_max;
}
#endif
void vect2_min_max(n_vect2 * points, n_int number, n_vect2 * maxmin)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment