Added binary and unicode file i/o support to msvcrt.
[reactos.git] / reactos / lib / crtdll / math / atan.c
index 853385b..af0e219 100644 (file)
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <msvcrt/math.h>
+
 double atan (double __x);
 
 double atan (double __x)
 {
   register double __value;
+#ifdef __GNUC__
   __asm __volatile__
     ("fld1\n\t"
      "fpatan"
      : "=t" (__value) : "0" (__x));
-
+#else
+  __value = linkme_atan(__x);
+#endif /*__GNUC__*/
   return __value;
 }