Bug 1585366 - Remove a gcc mangling workaround for Windows r=dmajor

Bug 1329593 introduced this for the mingw-gcc build; but we no longer support this
build and mingw-clang does not need it.

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tom Ritter 2019-10-08 21:00:08 +00:00
Родитель bdec1200f3
Коммит a5545c008f
1 изменённых файлов: 3 добавлений и 10 удалений

Просмотреть файл

@ -26,13 +26,6 @@
#include "LookupCache.h"
#include "HashStore.h"
// GCC < 6.1 workaround, see bug 1329593
#if defined(XP_WIN) && defined(__MINGW32__)
# define GCC_MANGLING_WORKAROUND __stdcall
#else
# define GCC_MANGLING_WORKAROUND
#endif
// The hash length for a domain key.
#define DOMAIN_LENGTH 4
@ -180,12 +173,12 @@ class nsUrlClassifierDBServiceWorker final : public nsIUrlClassifierDBService {
LookupResultArray& aResults);
// Open the DB connection
nsresult GCC_MANGLING_WORKAROUND OpenDb();
nsresult OpenDb();
// Provide a way to forcibly close the db connection.
nsresult GCC_MANGLING_WORKAROUND CloseDb();
nsresult CloseDb();
nsresult GCC_MANGLING_WORKAROUND PreShutdown();
nsresult PreShutdown();
nsresult CacheCompletions(const ConstCacheResultArray& aEntries);