[PR #340] Vs2012 fix #937

Closed
opened 2026-01-29 20:51:44 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/google/brotli/pull/340

State: closed
Merged: No


The brotli code currently does not compile with Visual Studio 2012, because the code assumes that the log2 function is supported by VIsual Studio 2012 and newer, which is not true.

This PR fixes the preprocessor check, so the workaround code is used with Visual Studio 2012 as well.

**Original Pull Request:** https://github.com/google/brotli/pull/340 **State:** closed **Merged:** No --- The brotli code currently does not compile with Visual Studio 2012, because the code assumes that the `log2` function is supported by VIsual Studio 2012 and newer, which is not true. This PR fixes the preprocessor check, so the workaround code is used with Visual Studio 2012 as well.
claunia added the pull-request label 2026-01-29 20:51:44 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#937