michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * vim: sw=4 ts=4 et : michael@0: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_msvc_throw_wrapper_h michael@0: #define mozilla_msvc_throw_wrapper_h michael@0: michael@0: // Define our own _Throw because the Win2k CRT doesn't export it. michael@0: # ifdef _EXCEPTION_ michael@0: # error "Unable to wrap _Throw(); CRT _Throw() already declared" michael@0: # endif michael@0: # define _Throw mozilla_Throw michael@0: # include michael@0: michael@0: #endif // ifndef mozilla_msvc_throw_wrapper_h