summaryrefslogtreecommitdiff
path: root/src/locale_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/locale_convert.h
parent846bb291aa34af6e2c533d2d1402e86361552433 (diff)
Rationalise raw/locale_convert stuff and fix build on OS X.
Diffstat (limited to 'src/locale_convert.h')
-rw-r--r--src/locale_convert.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/locale_convert.h b/src/locale_convert.h
index f7552f68..3d55a00e 100644
--- a/src/locale_convert.h
+++ b/src/locale_convert.h
@@ -34,9 +34,9 @@
#ifndef LIBDCP_LOCALE_CONVERT_H
#define LIBDCP_LOCALE_CONVERT_H
+#include <boost/filesystem.hpp>
#include <boost/static_assert.hpp>
#include <string>
-#include <stdint.h>
#include <cstdio>
namespace dcp {
@@ -61,11 +61,19 @@ locale_convert (unsigned int x, int, bool);
template <>
std::string
-locale_convert (int64_t x, int, bool);
+locale_convert (long int x, int, bool);
template <>
std::string
-locale_convert (uint64_t x, int, bool);
+locale_convert (unsigned long int x, int, bool);
+
+template <>
+std::string
+locale_convert (long long int x, int, bool);
+
+template <>
+std::string
+locale_convert (unsigned long long int x, int, bool);
template <>
std::string
@@ -88,6 +96,10 @@ std::string
locale_convert (char const * x, int, bool);
template <>
+std::string
+locale_convert (boost::filesystem::path x, int, bool);
+
+template <>
int
locale_convert (std::string x, int, bool);