summaryrefslogtreecommitdiff
path: root/memory/mozalloc/throw_msvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'memory/mozalloc/throw_msvc.h')
-rw-r--r--memory/mozalloc/throw_msvc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/memory/mozalloc/throw_msvc.h b/memory/mozalloc/throw_msvc.h
new file mode 100644
index 0000000000..e6ebf46dc4
--- /dev/null
+++ b/memory/mozalloc/throw_msvc.h
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * vim: sw=4 ts=4 et :
+ */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef mozilla_throw_msvc_h
+#define mozilla_throw_msvc_h
+
+#if defined(MOZ_MSVC_STL_WRAP_RAISE)
+# include "msvc_raise_wrappers.h"
+#else
+# error "Unknown STL wrapper tactic"
+#endif
+
+#endif // mozilla_throw_msvc_h