]> granicus.if.org Git - graphviz/commitdiff
simplify log2() conditional - WIN32 won't have set HAVE_LOG2 so should work there too
authorellson <devnull@localhost>
Fri, 20 May 2011 14:39:27 +0000 (14:39 +0000)
committerellson <devnull@localhost>
Fri, 20 May 2011 14:39:27 +0000 (14:39 +0000)
lib/ortho/trapezoid.c

index 3040cf808d339d52bf35dcb603a5ec91e7c2d26e..d6859032daa5373c03fc216bfd9c97fb2a8f4887 100644 (file)
 #include <memory.h>
 #include <trap.h>
 
-#ifdef WIN32
-#define log2(x)  (log(x)/log(2))
-#else
 #ifndef HAVE_LOG2
 #define log2(x)  (log(x)/log(2))
 #endif
-#endif
 
 /* Node types */