summaryrefslogtreecommitdiffstats
path: root/third_party/msgpack/include/msgpack/predef/detail/_cassert.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/msgpack/include/msgpack/predef/detail/_cassert.h')
-rw-r--r--third_party/msgpack/include/msgpack/predef/detail/_cassert.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/predef/detail/_cassert.h b/third_party/msgpack/include/msgpack/predef/detail/_cassert.h
new file mode 100644
index 0000000000..155ebebdb9
--- /dev/null
+++ b/third_party/msgpack/include/msgpack/predef/detail/_cassert.h
@@ -0,0 +1,17 @@
+/*
+Copyright Rene Rivera 2011-2012
+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_DETAIL__CASSERT_H
+#define MSGPACK_PREDEF_DETAIL__CASSERT_H
+
+#if defined(__cplusplus)
+#include <cassert>
+#else
+#include <assert.h>
+#endif
+
+#endif