]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 329ec9400c71c06cb88e14cfa9d336d5c8f0d0ee..de7d62e10050c24b767e52be56437916db1b7da0 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 e01bc4b1fbc6302a4a75b26a3260f5b0dc0b1d27..45e80ac01551f46a7800ee8e123476a43fe439b6 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