8000 Guarded miniz.c `#define WIN32_LEAN_AND_MEAN` against duplicates by kylawl · Pull Request #225 · syoyo/tinyexr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Guarded miniz.c #define WIN32_LEAN_AND_MEAN against duplicates #225

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

Merged
merged 1 commit into from
May 29, 2025

Conversation

kylawl
Copy link
Contributor
@kylawl kylawl commented May 29, 2025

No description provided.

Guarded `#define WIN32_LEAN_AND_MEAN` against duplicates
@syoyo syoyo requested a review from Copilot May 29, 2025 00:23
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a guard around the #define WIN32_LEAN_AND_MEAN to prevent duplicate macro definitions before including <windows.h>.

  • Wraps the #define WIN32_LEAN_AND_MEAN in #ifndef/#endif
  • Keeps #include <windows.h> unconditional
Comments suppressed due to low confidence (1)

deps/miniz/miniz.c:3069

  • [nitpick] Adjust the indentation of the #define directive to match the surrounding preprocessor directives (#ifndef/#endif) for consistency.
#define WIN32_LEAN_AND_MEAN

@syoyo syoyo merged commit 5e523cd into syoyo:release May 29, 2025
5 checks passed
@syoyo
Copy link
Owner
syoyo commented May 29, 2025

Thanks!

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.

2 participants
0