* sysdep.c (_FILE_OFFSET_BITS): Make this hack even uglier
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2011 21:26:33 +0000 (14:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2011 21:26:33 +0000 (14:26 -0700)
by pacifying GCC about it.  Maybe it's time to retire it?

src/ChangeLog
src/sysdep.c

index 329ec94..de7d62e 100644 (file)
@@ -1,5 +1,8 @@
 2011-04-16  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * 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.
 
index e01bc4b..45e80ac 100644 (file)
@@ -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