genericopenlibs/openenvcore/include/stdlib.h
changeset 52 bf6a71c50e42
parent 0 e4d67989cc36
--- a/genericopenlibs/openenvcore/include/stdlib.h	Fri Jun 11 15:26:22 2010 +0300
+++ b/genericopenlibs/openenvcore/include/stdlib.h	Wed Aug 18 11:27:44 2010 +0300
@@ -49,6 +49,14 @@
 
 #include <_ansi.h>
 
+#ifdef __SYMBIAN32__
+#ifdef __WINSCW__
+#ifndef __SOFTFP
+#define __SOFTFP
+#endif /* __SOFTFP */
+#endif//__WINSCW__
+#endif//__SYMBIAN32__
+
 #if __BSD_VISIBLE
 #ifndef _RUNE_T_DECLARED
 typedef	__rune_t	rune_t;
@@ -118,7 +126,7 @@
 IMPORT_C void	 abort(void) __dead2;
 IMPORT_C int	 abs(int) __pure2;
 IMPORT_C int	 atexit(void (*)(void));
-IMPORT_C double	 atof(const char *);
+IMPORT_C double	 atof(const char *) __SOFTFP;
 IMPORT_C int	 atoi(const char *);
 IMPORT_C long	 atol(const char *);
 IMPORT_C void	*bsearch(const void *, const void *, size_t,
@@ -139,16 +147,16 @@
 IMPORT_C int	 rand(void);
 IMPORT_C void	*realloc(void *, size_t);
 IMPORT_C void	 srand(unsigned);
-IMPORT_C double	 strtod(const char * __restrict, char ** __restrict);
+IMPORT_C double	 strtod(const char * __restrict, char ** __restrict) __SOFTFP;
 
 IMPORT_C 
-float	 strtof(const char * __restrict, char ** __restrict);
+float	 strtof(const char * __restrict, char ** __restrict) __SOFTFP;
 
 IMPORT_C long	 strtol(const char * __restrict, char ** __restrict, int);
 
 IMPORT_C 
 long double
-	 strtold(const char * __restrict, char ** __restrict);
+	 strtold(const char * __restrict, char ** __restrict) __SOFTFP;
 
 IMPORT_C
 unsigned long