Skip to content

drop redundant SK_BUILD_FOR_WASM define#204

Open
ramezgerges wants to merge 1 commit into
mono:skiasharpfrom
ramezgerges:dev/fix-sk-build-for-wasm-redef
Open

drop redundant SK_BUILD_FOR_WASM define#204
ramezgerges wants to merge 1 commit into
mono:skiasharpfrom
ramezgerges:dev/fix-sk-build-for-wasm-redef

Conversation

@ramezgerges
Copy link
Copy Markdown

include/private/base/SkFeatures.h auto-defines SK_BUILD_FOR_WASM under the EMSCRIPTEN branch, so adding the same define on the em++ command line just produces a "macro redefined" warning on every wasm translation unit.

Description of Change

SkiaSharp Issue

Related to https://github.com/mono/SkiaSharp/issues/

API Changes

None.

Behavioral Changes

None.

Required SkiaSharp PR

Requires https://github.com/mono/SkiaSharp/pull/

PR Checklist

  • Rebased on top of skiasharp at time of PR
  • Changes adhere to coding standard
  • Updated documentation

include/private/base/SkFeatures.h auto-defines SK_BUILD_FOR_WASM under
the __EMSCRIPTEN__ branch, so adding the same define on the em++ command
line just produces a "macro redefined" warning on every wasm
translation unit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant