mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
[PR #341] [MERGED] Fix compilation with VS2012 #939
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/341
Author: @1100101
Created: 4/22/2016
Status: ✅ Merged
Merged: 4/22/2016
Merged by: @eustas
Base:
master← Head:fix_vs2012_compilation📝 Commits (1)
d9a268cFix compilation with VS2012📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
enc/fast_log.h(+2 -2)📄 Description
The brotli code currently does not compile with Visual Studio 2012, because the code assumes that the
log2function 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.