diff --git a/js/src/vtune/README b/js/src/vtune/README index 3bd5f9fefa14..212078b4e333 100644 --- a/js/src/vtune/README +++ b/js/src/vtune/README @@ -14,6 +14,8 @@ Additionally, the following changes should be propagated: or Ubuntu shell builds will randomly crash on startup. - With weak attributes removed, DL_SYMBOLS and PTHREAD_SYMBOLS should be defined as "(1)" to avoid -Waddress warnings. + - Per Bug 1377651, the __itt_null variable in ittnotify.h should be + made non-static, so it can be used in a non-static function. If the license has changed, update the "VTune License" section of toolkit/content/license.html diff --git a/js/src/vtune/ittnotify.h b/js/src/vtune/ittnotify.h index c52490239c6d..f1d65b3328bc 100644 --- a/js/src/vtune/ittnotify.h +++ b/js/src/vtune/ittnotify.h @@ -1812,7 +1812,7 @@ typedef struct ___itt_id #pragma pack(pop) /** @endcond */ -static const __itt_id __itt_null = { 0, 0, 0 }; +const __itt_id __itt_null = { 0, 0, 0 }; /** * @ingroup ids