summaryrefslogtreecommitdiff
path: root/src/raw_convert.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-15 10:09:45 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-15 14:08:03 +0100
commit3c93561190ceb883db6b69c1cd37d99cd547fe83 (patch)
tree01524b1ce784fb78424e32dfb7db110d6a4f9686 /src/raw_convert.h
parent846bb291aa34af6e2c533d2d1402e86361552433 (diff)
Rationalise raw/locale_convert stuff and fix build on OS X.
Diffstat (limited to 'src/raw_convert.h')
-rw-r--r--src/raw_convert.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/raw_convert.h b/src/raw_convert.h
index 585c18fc..901e99dd 100644
--- a/src/raw_convert.h
+++ b/src/raw_convert.h
@@ -36,7 +36,6 @@
#include <boost/static_assert.hpp>
#include <iomanip>
-#include <stdint.h>
namespace dcp {
@@ -63,11 +62,19 @@ raw_convert (unsigned int v, int, bool);
template <>
std::string
-raw_convert (int64_t v, int, bool);
+raw_convert (long int v, int, bool);
template <>
std::string
-raw_convert (uint64_t v, int, bool);
+raw_convert (unsigned long int v, int, bool);
+
+template <>
+std::string
+raw_convert (long long int v, int, bool);
+
+template <>
+std::string
+raw_convert (unsigned long long int v, int, bool);
template <>
std::string