Commit 9913560a authored by Vinson Lee's avatar Vinson Lee
Browse files

gl-2.1/minmax: Add log2 definition for MSVC.

Fixes MSVC build error.
Signed-off-by: default avatarVinson Lee <>
parent d73de4b0
......@@ -94,6 +94,13 @@ size_range_test(GLenum token, const char *name)
#if defined(_MSC_VER)
static double log2(double x)
return log(x) / log(2);
static void
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment