Skip to content

zstd.h uses undefined MIN() macro #976

@indygreg

Description

@indygreg

Starting with version 1.3.2, zstd.h uses MIN(), but only if ZSTD_STATIC_LINKING_ONLY is defined. MIN() may not be defined since it isn't a standard macro in C (there is a definition in zstd_internal.h). This can lead to compiler errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions