Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #16 from htaox/compile-in-windows
Browse files Browse the repository at this point in the history
Remove tr1/ prefix if compiling in Windows
  • Loading branch information
godsflaw committed Apr 14, 2014
2 parents 01c8862 + 06b78ac commit cbb9978
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/msgpack/msgpack/type/tr1/unordered_map.hpp
Expand Up @@ -19,7 +19,11 @@
#define MSGPACK_TYPE_TR1_UNORDERED_MAP_HPP__

#include "msgpack/object.hpp"
#ifdef WIN32
#include <unordered_map>
#else
#include <tr1/unordered_map>
#endif

namespace msgpack {

Expand Down
4 changes: 4 additions & 0 deletions deps/msgpack/msgpack/type/tr1/unordered_set.hpp
Expand Up @@ -19,7 +19,11 @@
#define MSGPACK_TYPE_TR1_UNORDERED_SET_HPP__

#include "msgpack/object.hpp"
#ifdef WIN32
#include <unordered_set>
#else
#include <tr1/unordered_set>
#endif

namespace msgpack {

Expand Down

0 comments on commit cbb9978

Please sign in to comment.