Skip to content

Add MSVC support#22

Merged
caolanm merged 3 commits intocaolanm:masterfrom
brunvonlope:bruno/msvc-fixes
Apr 4, 2026
Merged

Add MSVC support#22
caolanm merged 3 commits intocaolanm:masterfrom
brunvonlope:bruno/msvc-fixes

Conversation

@brunvonlope
Copy link
Copy Markdown
Contributor

Hi. I am working on making libwmf build on vcpkg environment and would like the following commits to be merged. This helps building GIMP with MSVC. Thanks in advance

On such platform math is provided .e.g. on UCRT library.
That is true for both MSYS2 .a and MSVC .lib libraries.

The configure.ac was already aware of that on SYS_LIBM
but some references scaped that check.
Comment thread src/player/color.h
#ifndef WMFPLAYER_COLOR_H
#define WMFPLAYER_COLOR_H

#ifdef _WIN32
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Having this duplicate in two places feels a bit wonky, but I can like with it

@caolanm caolanm merged commit b5e56e9 into caolanm:master Apr 4, 2026
@brunvonlope brunvonlope deleted the bruno/msvc-fixes branch April 4, 2026 17:42
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