2013/12/3 Julian Taylor <notifications@github.com>

> In numpy/core/blasdot/_dotblas.c:
>
> > @@ -22,66 +24,147 @@
> >
> >  static PyArray_DotFunc *oldFunctions[NPY_NTYPES];
> >
> > +#define MIN(a, b)   ((a) < (b) ? (a) : (b))
>
> this should probably be namespace (NPY_MIN is already used for something
> else ...) or ifdef protected, this can be defined by system headers (but I
> guess it should only be a redefinition warning)
>

System headers on an ISO C-compliant system may not define a non-standard
macro in standard headers; any macro identifier must either be listed in
the standard, be defined in a non-standard header, or be prefixed with an
underscore (which is why I've been removing identifiers matching "_[A-Z]"
from the NumPy codebase: those are off-limits).

Given the headers that are included by this module, we'd be protecting
against broken C environments, broken BLAS headers or our own mistakes.