DOS/Windows-specific code: values.c

Eli Zaretskii
2001-05-08T04:53:00Z

* values.c:unpack_double()

/* Unsigned -- be sure we compensate for signed LONGEST. */
#if !defined (_MSC_VER) || (_MSC_VER > 900)
return (ULONGEST) unpack_long (type, valaddr);
#else
/* FIXME!!! msvc22 doesn't support unsigned __int64 -> double */
return (LONGEST) unpack_long (type, valaddr);
#endif /* _MSC_VER */

There's _got_ to be a better way to do this!