From: Paul Eggert Date: Sat, 16 Apr 2011 21:26:33 +0000 (-0700) Subject: * sysdep.c (_FILE_OFFSET_BITS): Make this hack even uglier X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~268^2~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=90efadd1f623e3b48cb594ef8caa709cd514d329;p=emacs.git * sysdep.c (_FILE_OFFSET_BITS): Make this hack even uglier by pacifying GCC about it. Maybe it's time to retire it? --- diff --git a/src/ChangeLog b/src/ChangeLog index 329ec9400c7..de7d62e1005 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2011-04-16 Paul Eggert + * sysdep.c (_FILE_OFFSET_BITS): Make this hack even uglier + by pacifying GCC about it. Maybe it's time to retire it? + * dispextern.h (struct redisplay_interface): Rename param to avoid shadowing. diff --git a/src/sysdep.c b/src/sysdep.c index e01bc4b1fbc..45e80ac0155 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -2966,6 +2966,8 @@ system_process_attributes (Lisp_Object pid) #if PROCFS_FILE_OFFSET_BITS_HACK == 1 #define _FILE_OFFSET_BITS 64 +#ifdef _FILE_OFFSET_BITS /* Avoid unused-macro warnings. */ +#endif #endif /* PROCFS_FILE_OFFSET_BITS_HACK == 1 */ Lisp_Object