aboutsummaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1996-12-19 17:45:57 +0000
committerMark Alexander <marka@cygnus>1996-12-19 17:45:57 +0000
commit214e969267acd11ce81584187f66b1139b4d81cd (patch)
tree178bb154f6eca3e65a103a2529144677edd62c89 /gdb/values.c
parent9c199842e54a91b59b2d319c1d53dc94464fa9f7 (diff)
downloadgdb-214e969267acd11ce81584187f66b1139b4d81cd.zip
gdb-214e969267acd11ce81584187f66b1139b4d81cd.tar.gz
gdb-214e969267acd11ce81584187f66b1139b4d81cd.tar.bz2
* values.c (unpack_double): Make it compile with MSVC++ 2.x.
* remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g. when using MSVC++. (common_open): Fix help string.
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/values.c b/gdb/values.c
index bfb0108..afd8b03 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -678,7 +678,7 @@ unpack_double (type, valaddr, invp)
#ifndef _MSC_VER
return (ULONGEST) unpack_long (type, valaddr);
#else
-#if (_MSC_VER > 800)
+#if (_MSC_VER > 900)
return (ULONGEST) unpack_long (type, valaddr);
#else
/* FIXME!!! msvc22 doesn't support unsigned __int64 -> double */