Remove min/max and repace the RETARDED const void NULL definition.