Skip to content

Use _WIN32 only to check for windows#531

Closed
glankk wants to merge 1 commit into
cppcheck-opensource:masterfrom
glankk:win32
Closed

Use _WIN32 only to check for windows#531
glankk wants to merge 1 commit into
cppcheck-opensource:masterfrom
glankk:win32

Conversation

@glankk

@glankk glankk commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

Removes __CYGWIN__ and __MINGW32__ checks, as well as the SIMPLECPP_WINDOWS macro, in favor of _WIN32. Needed for #475.

@firewave

firewave commented Sep 2, 2025

Copy link
Copy Markdown
Collaborator

Let's focus on #524 for now and leave the NonExistingFilesCache stuff under SIMPLECPP_WINDOWS.

@firewave

firewave commented Sep 2, 2025

Copy link
Copy Markdown
Collaborator

And please mention the ticket it fixes in the title.

@danmar

danmar commented Sep 9, 2025

Copy link
Copy Markdown
Collaborator

Yes.. in general it is better to use _WIN32 to check if windows is used.

@firewave

Copy link
Copy Markdown
Collaborator

I published #541 as a replacement.

@firewave firewave closed this Sep 12, 2025
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