Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use different global names and #undef the #defines to stay unity build friendly. #1653

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

j-jorge
Copy link
Contributor

@j-jorge j-jorge commented Feb 5, 2024

Hello, this PR changes the name of some global variables such that the files containing their definition can be included in a single .cpp file in the context of unity builds. For the same reasons, a couple of preprocessor definitions are undefined at the end of the file.

@halx99 halx99 merged commit 583dcdc into axmolengine:2.1 Feb 5, 2024
8 checks passed
@halx99 halx99 added this to the 2.1.2 milestone Feb 5, 2024
@halx99 halx99 added the enhancement New feature or request label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants