mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +09:00
Remove unnecessary GCC version checks
This commit is contained in:
parent
384f756181
commit
afedf5b82e
2 changed files with 3 additions and 7 deletions
|
|
@ -31,18 +31,14 @@
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# pragma GCC diagnostic push
|
# pragma GCC diagnostic push
|
||||||
# pragma GCC diagnostic ignored "-Wshadow"
|
# pragma GCC diagnostic ignored "-Wshadow"
|
||||||
# if MOZ_GCC_VERSION_AT_LEAST(4, 9, 0)
|
# pragma GCC diagnostic ignored "-Wshadow-local"
|
||||||
# pragma GCC diagnostic ignored "-Wshadow-local"
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <hash_map>
|
#include <hash_map>
|
||||||
#include <hash_set>
|
#include <hash_set>
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# if MOZ_GCC_VERSION_AT_LEAST(4, 9, 0)
|
# pragma GCC diagnostic pop // -Wshadow-local
|
||||||
# pragma GCC diagnostic pop // -Wshadow-local
|
|
||||||
# endif
|
|
||||||
# pragma GCC diagnostic pop // -Wshadow
|
# pragma GCC diagnostic pop // -Wshadow
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ private:
|
||||||
// which is a general gcc bug that we seem to have hit only on Android/x86.
|
// which is a general gcc bug that we seem to have hit only on Android/x86.
|
||||||
#if defined(ANDROID) && defined(__i386__) && defined(__GNUC__) && \
|
#if defined(ANDROID) && defined(__i386__) && defined(__GNUC__) && \
|
||||||
!defined(__clang__)
|
!defined(__clang__)
|
||||||
#if (MOZ_GCC_VERSION_AT_LEAST(4,9,0) && MOZ_GCC_VERSION_AT_MOST(4,9,2))
|
#if (MOZ_GCC_VERSION_AT_MOST(4,9,2))
|
||||||
__attribute__((noinline))
|
__attribute__((noinline))
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue