]> www.ginac.de Git - ginac.git/blobdiff - ginac/utils.h
- Patches needed for cygwin.
[ginac.git] / ginac / utils.h
index 7018bc9511a02584ffb885b81bf0cffb9d183a1b..13fa2c8b956bafc17d8ca33640b8575467b9ba44 100644 (file)
@@ -45,7 +45,10 @@ string ToString(const T & t)
  *  signal that ordinary Taylor expansion is safe. */
 class do_taylor {};
 
+// cygwin defines a macro log2, causing confusion
+#ifndef log2
 unsigned log2(unsigned n);
+#endif
 
 int compare_pointers(const void * a, const void * b);