From 0c1787badab37cdace67666b99984fa7e27b1df0 Mon Sep 17 00:00:00 2001 From: samr7 Date: Sun, 14 Aug 2011 11:12:36 -0700 Subject: [PATCH] Win32 build fix for missing M_E. --- util.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util.c b/util.c index b35e1b6..8921c86 100644 --- a/util.c +++ b/util.c @@ -16,6 +16,10 @@ * along with Vanitygen. If not, see . */ +#if defined(_WIN32) +#define _USE_MATH_DEFINES +#endif /* defined(_WIN32) */ + #include #include #include