summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-04-02 17:06:01 -0400
committerEliot Horowitz <eliot@10gen.com>2009-04-02 17:06:01 -0400
commitd20f1d0f627c4ddf7a78fffe17ad096981c55b51 (patch)
treedc04bfb43cf1ef530cb2568f0758452eeff685e1 /util
parentc04804725863ce6b8c0e4034a64f738c327fb5a5 (diff)
downloadmongo-d20f1d0f627c4ddf7a78fffe17ad096981c55b51.tar.gz
solaris fix
Diffstat (limited to 'util')
-rw-r--r--util/file.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/file.h b/util/file.h
index 911598b2753..d6780944abb 100644
--- a/util/file.h
+++ b/util/file.h
@@ -12,7 +12,11 @@
namespace mongo {
+#ifndef __sunos__
typedef uint64_t fileofs;
+#else
+typedef boost::uint64_t fileofs;
+#endif
class FileInterface {
public: