update for HEAD-2003021201
[reactos.git] / lib / msvcrt / math / log.c
index e9b7cb6..014c78a 100644 (file)
@@ -25,11 +25,14 @@ double log (double __x);
 double log (double __x)
 {
   register double __value;
+#ifdef __GNUC__
   __asm __volatile__
     ("fldln2\n\t"
      "fxch\n\t"
      "fyl2x"
      : "=t" (__value) : "0" (__x));
-
+#else
+  __value = linkme_log(__x);
+#endif /*__GNUC__*/
   return __value;
 }