]> sourceware.org Git - newlib-cygwin.git/commitdiff
2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>
Wed, 7 May 2008 02:35:16 +0000 (02:35 +0000)
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>
Wed, 7 May 2008 02:35:16 +0000 (02:35 +0000)
        * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
        * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.

winsup/mingw/ChangeLog
winsup/mingw/include/stdlib.h
winsup/mingw/mingwex/gdtoa/strtodnrp.c

index da2e79464170276c64b238fc90d813387f257024..25ce0db757d5aab1c130738619ffe4fc0394e197 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-06 Ramiro Polla <ramiro@lisha.ufsc.br>
+
+       * mingwex/gdtoa/strtodnrp.c: Remove alias from strtod to __strtod.
+       * include/stdlib.h: Define strtod to __strtod when __NO_ISOCEXT is not set.
+
 2008-05-04 Ramiro Polla <ramiro@lisha.ufsc.br>
 
        * include/sys/types.h (useconds_t): typedef.
index 0d6cf60bec146fda3648543c9e1a972e70db2d2e..693185c07b4d13ec01cbf436233528cf8c6db6b0 100644 (file)
@@ -307,11 +307,13 @@ _CRTIMP long __cdecl __MINGW_NOTHROW      atol    (const char*);
 _CRTIMP int __cdecl __MINGW_NOTHROW    _wtoi (const wchar_t *);
 _CRTIMP long __cdecl __MINGW_NOTHROW _wtol (const wchar_t *);
 #endif
-_CRTIMP double __cdecl __MINGW_NOTHROW _strtod (const char*, char**);
 #if !defined __NO_ISOCEXT  /*  in libmingwex.a */
-double __cdecl __MINGW_NOTHROW strtod (const char*, char**);
+double __cdecl __MINGW_NOTHROW __strtod (const char*, char**);
+#define strtod __strtod
 float __cdecl __MINGW_NOTHROW strtof (const char * __restrict__, char ** __restrict__);
 long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__);
+#else
+_CRTIMP double __cdecl __MINGW_NOTHROW strtod  (const char*, char**);
 #endif /* __NO_ISOCEXT */
 
 _CRTIMP long __cdecl __MINGW_NOTHROW   strtol  (const char*, char**, int);
index 26d0fc3cc2bdff133c4ea2c7a48198921419f794..ac81b2bbd678e4a099dbbca14703c56fc1f253db 100755 (executable)
@@ -85,6 +85,3 @@ __strtod(CONST char *s, char **sp)
                u.L[_0] |= 0x80000000L;
        return u.d;
        }
-
-double __cdecl strtod(const char *s, char **sp)
-    __attribute__((alias("__strtod")));
This page took 0.036731 seconds and 5 git commands to generate.