]> granicus.if.org Git - php/commitdiff
- fix vc6 random behavior for Fix bug #53632 with x87 fpu
authorPierre Joye <pajoye@php.net>
Thu, 6 Jan 2011 17:08:46 +0000 (17:08 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 6 Jan 2011 17:08:46 +0000 (17:08 +0000)
Zend/zend_strtod.c

index 311d4385d3138a26905529ab3d89f38554d7fd06..2ad08fd5d2d2dc108ff64b7731b0723f87e82176 100644 (file)
@@ -2030,6 +2030,10 @@ ret1:
        return s0;
 }
 
+/* F* VC6 */
+#if _MSC_VER <= 1300
+# pragma optimize( "", off )
+#endif
 ZEND_API double zend_strtod (CONST char *s00, char **se)
 {
        int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign,