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)