emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/s/aix4-2.h,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/s/aix4-2.h,v
Date: Mon, 27 Nov 2006 22:36:38 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/11/27 22:36:38

Index: aix4-2.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/s/aix4-2.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- aix4-2.h    23 Sep 2005 17:06:02 -0000      1.5
+++ aix4-2.h    27 Nov 2006 22:36:37 -0000      1.6
@@ -20,5 +20,19 @@
 */
 #define BROKEN_GET_CURRENT_DIR_NAME 1
 
+/* aix3-1.h defined _NO_PROTO, probably to work around an AIX compiler
+   that did not handle prototypes.  On (at least) AIX 5.2, this causes
+   the proper prototype to be thrown away for lseek64, so compiled
+   Lisp files do not load correctly and compilation fails.
+
+   The AIX compiler should have learned about function prototypes long
+   ago, so we can probably go ahead and undefine _NO_PROTO.  However,
+   if someone can demonstrate that this problem still exists for AIX
+   4, this should be moved into a new file (aix5.h).
+*/
+
+#undef _NO_PROTO
+
+
 /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562
    (do not change this comment) */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]