Hi John,

I ported the basic "templated code" for cover trees to mac os x (testdand
had to make a few changes:

1) define my own posix_memalign (donated by a friend) and include <errno.h>

#include <errno.h>
int posix_memalign(void **mptr, size_t, size_t bytes) {
  *mptr = malloc(bytes);
  return *mptr ? 0 : ENOMEM;
}

2) use INT_MAX instead of MAXINT

3) compile with -dynamic instead of -static

Not sure if this is useful to you and I don't want to try to support a mac
port but this may be helpful to anyone trying to maintain it.

Thanks,
Gordon