Skip to content

Add macro guards#17

Merged
TyomaVader merged 1 commit intoTyomaVader:Devfrom
B-Bischoff:Dev
Jun 2, 2025
Merged

Add macro guards#17
TyomaVader merged 1 commit intoTyomaVader:Devfrom
B-Bischoff:Dev

Conversation

@B-Bischoff
Copy link

Hi!
I'd like to make the NOTIFY_RENDER_OUTSIDE_MAIN_WINDOW macro configurable without causing redefinition warnings when it's defined externally.

This PR adds a simple macro guard using #ifndef to allow users to override the value without warnings.

Let me know if you’d like any changes. Thanks!

Copy link
Owner

@TyomaVader TyomaVader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@TyomaVader TyomaVader added enhancement New feature or request good first issue Good for newcomers labels Jun 2, 2025
@TyomaVader TyomaVader merged commit 1faf253 into TyomaVader:Dev Jun 2, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants