]> git.tdb.fi Git - libs/core.git/blobdiff - source/strings/lexicalcast.cpp
Prefer inttypes.h to doing the #ifdef dance everywhere
[libs/core.git] / source / strings / lexicalcast.cpp
index a91c18cc287f149f7ad80eb39122935796812abb..71e346b7651818f9c91006fdfacaa8dce05613ed 100644 (file)
@@ -1,12 +1,6 @@
-/* $Id$
-
-This file is part of libmspstrings
-Copyright © 2006-2008 Mikko Rasa
-Distributed under the LGPL
-*/
-
 #include <cmath>
 #include <limits>
+#include <msp/core/inttypes.h>
 #include "format.h"
 #include "lexicalcast.h"
 
@@ -27,11 +21,7 @@ struct Temporary
 template<typename T>
 struct Temporary<T, true>
 {
-#ifdef WIN32
-       typedef __int64 Type;
-#else
-       typedef unsigned long long Type;
-#endif
+       typedef UInt64 Type;
 };
 
 /* Helper to avoid warnings about an unsigned type never being < 0 */