summaryrefslogtreecommitdiffstats
path: root/third_party/msgpack/include/msgpack/predef/library/std/msl.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/msgpack/include/msgpack/predef/library/std/msl.h')
-rw-r--r--third_party/msgpack/include/msgpack/predef/library/std/msl.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/predef/library/std/msl.h b/third_party/msgpack/include/msgpack/predef/library/std/msl.h
new file mode 100644
index 0000000000..187a6e1d52
--- /dev/null
+++ b/third_party/msgpack/include/msgpack/predef/library/std/msl.h
@@ -0,0 +1,53 @@
+/*
+Copyright Rene Rivera 2008-2015
+Distributed under the Boost Software License, Version 1.0.
+(See accompanying file LICENSE_1_0.txt or copy at
+http://www.boost.org/LICENSE_1_0.txt)
+*/
+
+#ifndef MSGPACK_PREDEF_LIBRARY_STD_MSL_H
+#define MSGPACK_PREDEF_LIBRARY_STD_MSL_H
+
+#include <msgpack/predef/library/std/_prefix.h>
+
+#include <msgpack/predef/version_number.h>
+#include <msgpack/predef/make.h>
+
+/*`
+[heading `MSGPACK_LIB_STD_MSL`]
+
+[@http://www.freescale.com/ Metrowerks] Standard C++ Library.
+Version number available as major, minor, and patch.
+
+[table
+ [[__predef_symbol__] [__predef_version__]]
+
+ [[`__MSL_CPP__`] [__predef_detection__]]
+ [[`__MSL__`] [__predef_detection__]]
+
+ [[`__MSL_CPP__`] [V.R.P]]
+ [[`__MSL__`] [V.R.P]]
+ ]
+ */
+
+#define MSGPACK_LIB_STD_MSL MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
+
+#if defined(__MSL_CPP__) || defined(__MSL__)
+# undef MSGPACK_LIB_STD_MSL
+# if defined(__MSL_CPP__)
+# define MSGPACK_LIB_STD_MSL MSGPACK_PREDEF_MAKE_0X_VRPP(__MSL_CPP__)
+# else
+# define MSGPACK_LIB_STD_MSL MSGPACK_PREDEF_MAKE_0X_VRPP(__MSL__)
+# endif
+#endif
+
+#if MSGPACK_LIB_STD_MSL
+# define MSGPACK_LIB_STD_MSL_AVAILABLE
+#endif
+
+#define MSGPACK_LIB_STD_MSL_NAME "Metrowerks"
+
+#endif
+
+#include <msgpack/predef/detail/test.h>
+MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_LIB_STD_MSL,MSGPACK_LIB_STD_MSL_NAME)