Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/public-domain/sqlite/dist Fix bogus #ifdef __vax__



details:   https://anonhg.NetBSD.org/src/rev/6d53b68dd06c
branches:  trunk
changeset: 326779:6d53b68dd06c
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Feb 17 12:06:15 2014 +0000

description:
Fix bogus #ifdef __vax__

diffstat:

 external/public-domain/sqlite/dist/sqlite3.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r e5696a1f6548 -r 6d53b68dd06c external/public-domain/sqlite/dist/sqlite3.c
--- a/external/public-domain/sqlite/dist/sqlite3.c      Mon Feb 17 10:10:41 2014 +0000
+++ b/external/public-domain/sqlite/dist/sqlite3.c      Mon Feb 17 12:06:15 2014 +0000
@@ -22014,8 +22014,8 @@
     /* if exponent, scale significand as appropriate
     ** and store in result. */
     if( e ){
+      LONGDOUBLE_TYPE scale = 1.0;
 #ifndef __vax__
-      LONGDOUBLE_TYPE scale = 1.0;
       /* attempt to handle extremely small/large numbers better */
       if( e>307 && e<342 ){
         while( e%308 ) { scale *= 1.0e+1; e -= 1; }



Home | Main Index | Thread Index | Old Index