diff options
author | John Hodge (bugs) <tpg@mutabah.net> | 2017-03-04 18:12:49 +0800 |
---|---|---|
committer | John Hodge (bugs) <tpg@mutabah.net> | 2017-03-04 18:12:49 +0800 |
commit | c6fca061dd134068c831aefd88d9535a30f423ed (patch) | |
tree | 28fc4abecddf8514792a4cb748f1c6e5700274c1 /src/common.hpp | |
parent | 03addc877bab648ccde022edec29f5b051ce7cb9 (diff) | |
download | mrust-c6fca061dd134068c831aefd88d9535a30f423ed.tar.gz |
Many many changes to allow compiling in visual studio (Community 2015)
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common.hpp b/src/common.hpp index a0130371..76940d25 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -11,6 +11,10 @@ #include <sstream> #include <memory> +#ifdef _MSC_VER +#define __attribute__(x) +#endif + #define FMT(ss) (dynamic_cast< ::std::stringstream&>(::std::stringstream() << ss).str()) // XXX: Evil hack - Define 'mv$' to be ::std::move #define mv$(x) ::std::move(x) |