Backed out changeset 496886cb30a5 (bug 1867152) for bc failures on browser_user_input...
[gecko.git] / config / external / rlbox / rlbox_thread_locals.cpp
blob157177c0e0f3192739a185a4068c6916f6948a0d
1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 // Load general firefox configuration of RLBox
7 #include "mozilla/rlbox/rlbox_config.h"
9 #define RLBOX_USE_STATIC_CALLS() rlbox_noop_sandbox_lookup_symbol
10 #include "mozilla/rlbox/rlbox_noop_sandbox.hpp"
12 #include "mozilla/rlbox/rlbox.hpp"
14 // The MingW compiler does not correctly handle static thread_local inline
15 // members. We instead TLS storage via functions. This can be removed if the
16 // MingW bug is fixed.
17 RLBOX_NOOP_SANDBOX_STATIC_VARIABLES();