]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Another MSVC6 fix. Grnk.
authorNick Mathewson <nickm@torproject.org>
Fri, 21 Jul 2006 14:53:23 +0000 (14:53 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 21 Jul 2006 14:53:23 +0000 (14:53 +0000)
svn:r6802

src/common/compat.h

index fde91172d4d9e5329cb2e7c59a3bdeb3f472c0d9..9a1cd1b66feb59d0f6ad110a4a1baea55d99de0a 100644 (file)
@@ -79,7 +79,7 @@
 #if defined(_MSC_VER) && (_MSC_VER < 1300)
 /* MSVC versions before 7 apparently don't believe that you can cast uint64_t
  * to double and really mean it. */
-extern inline double U64_TO_DBL(uint64_t x) {
+extern INLINE double U64_TO_DBL(uint64_t x) {
   int64_t i = (int64_t) x;
   return (i < 0) ? ((double) INT64_MAX) : (double) i;
 }