Skip to content

include guard in the single header version #246

@kamchatka-volcano

Description

@kamchatka-volcano

Hello, isn't the include guard broken in the single header version of the library, or am I missing something?
There's is no macro #define _RYML_SINGLE_HEADER_AMALGAMATED_HPP_ anywhere and nothing stops the header from being included in translation unit multiple times. I added it on the second line and it fixed the symbol redefinition errors I was getting before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions