summaryrefslogtreecommitdiff
path: root/src/emacsgtkfixed.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-07-23 07:38:51 +0100
committerPaul Eggert <eggert@cs.ucla.edu>2013-07-23 07:38:51 +0100
commit9ca960e27a653f6dcaf057eefc5243bf4c223e72 (patch)
treebc4de7b238db0350bdf96b00b2c53277f20e5ba3 /src/emacsgtkfixed.c
parent02efb5eee680f8d1f4fa932106ed492c2fd7ff4b (diff)
downloademacs-9ca960e27a653f6dcaf057eefc5243bf4c223e72.tar.gz
* emacsgtkfixed.c: Port to GCC 4.6.
GCC 4.6 complains about -Wunused-local-typedefs, introduced in 4.7.
Diffstat (limited to 'src/emacsgtkfixed.c')
-rw-r--r--src/emacsgtkfixed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacsgtkfixed.c b/src/emacsgtkfixed.c
index 970683da9c4..8b19d89f3a0 100644
--- a/src/emacsgtkfixed.c
+++ b/src/emacsgtkfixed.c
@@ -28,7 +28,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "xterm.h"
/* Silence a bogus diagnostic; see GNOME bug 683906. */
-#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
+#if 4 < __GNUC__ + (7 <= __GNUC_MINOR__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#endif