summaryrefslogtreecommitdiff
blob: 97f4656344cb65764916fc24140ceb21d818959b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/hacks/memscroller.c
+++ b/hacks/memscroller.c
@@ -307,7 +307,7 @@
       -- sbrk(2) man page on BSD systems, as of 1995 or so.
  */
 #ifdef HAVE_SBRK
-# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) /* gcc >= 4.2 */
+# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) /* gcc >= 4.6 */
    /* Don't print "warning: 'sbrk' is deprecated". */
 #  pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 # endif