tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit a4d757d9845fe424c164d8da0a19414c2cba1f2c
parent 29c063bf70ecb8af1139040eb8afdccb7e3ef470
Author: serge-sans-paille <sguelton@mozilla.com>
Date:   Wed, 17 Dec 2025 09:30:47 +0000

Bug 2001038 - Remove obsolete check for old libsdc++ version r=glandium

We link with libc++ on OSX, so this is hardly relevant anymore.

Differential Revision: https://phabricator.services.mozilla.com/D273173

Diffstat:
Mwidget/cocoa/nsMenuItemIconX.mm | 14--------------
1 file changed, 0 insertions(+), 14 deletions(-)

diff --git a/widget/cocoa/nsMenuItemIconX.mm b/widget/cocoa/nsMenuItemIconX.mm @@ -7,20 +7,6 @@ * Retrieves and displays icons in native menu items on Mac OS X. */ -/* exception_defines.h defines 'try' to 'if (true)' which breaks objective-c - exceptions and produces errors like: error: unexpected '@' in program'. - If we define __EXCEPTIONS exception_defines.h will avoid doing this. - - See bug 666609 for more information. - - We use <limits> to get the libstdc++ version. */ -#include <limits> -#if __GLIBCXX__ <= 20070719 -# ifndef __EXCEPTIONS -# define __EXCEPTIONS -# endif -#endif - #include "MOZIconHelper.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/DocumentInlines.h"