Skip to content

[nob.h] undefine NOB_IMPLEMENTATION#233

Open
gegoxaren wants to merge 1 commit intotsoding:mainfrom
gegoxaren:Undef
Open

[nob.h] undefine NOB_IMPLEMENTATION#233
gegoxaren wants to merge 1 commit intotsoding:mainfrom
gegoxaren:Undef

Conversation

@gegoxaren
Copy link
Copy Markdown

Undefine implementation macro after passning the #ifdef to prevent certain types of include errors.

If a header file that include nob.h is include after includation of nob.h that has an implementation, it would caused redefition errors.

Undefine implementation macro after passning the #ifdef to prevent certain types of include errors.

If a header file that include nob.h is include after includation of nob.h that has an implementation, it would caused redefition errors.
@gegoxaren gegoxaren changed the title [nob.h] undeclare NOB_IMPLEMENTATION [nob.h] undefine NOB_IMPLEMENTATION Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant