Skip to content

Added ifndef to avoid compilation issue if symbol was already defined before#321

Merged
NotRequiem merged 1 commit intokernelwernel:mainfrom
pemessier:main
Apr 7, 2025
Merged

Added ifndef to avoid compilation issue if symbol was already defined before#321
NotRequiem merged 1 commit intokernelwernel:mainfrom
pemessier:main

Conversation

@pemessier
Copy link
Copy Markdown
Contributor

MAKE SURE TO READ THE CONTRIBUTION GUIDELINES BEFORE CONTINUING!

What does this PR do?

  • Add a new technique
  • Add a new feature
  • Fix bugs
  • Refactoring
  • Sync between branches
  • Other

Briefly explain what this PR does:

Added ifndef to avoid compilation issue if symbol was already defined before

We compile using /D WIN32_LEAN_AND_MEAN

Otherwise we get:

error C2220: the following warning is treated as an error
warning C4005: 'WIN32_LEAN_AND_MEAN': macro redefinition
message : 'WIN32_LEAN_AND_MEAN' previously declared on the command line

@NotRequiem
Copy link
Copy Markdown
Collaborator

nice

@NotRequiem NotRequiem merged commit d260f36 into kernelwernel:main Apr 7, 2025
3 checks passed
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.

3 participants