diff options
| author | Chong Yidong | 2006-11-27 22:36:37 +0000 |
|---|---|---|
| committer | Chong Yidong | 2006-11-27 22:36:37 +0000 |
| commit | dc8d38204b1b2d3de1932c05f0259892d2a4ad9c (patch) | |
| tree | 4b76a310133a22300abbf5308698f236698867c0 /src | |
| parent | 55107ae5825d3206472f28552b30c48126856ea7 (diff) | |
| download | emacs-dc8d38204b1b2d3de1932c05f0259892d2a4ad9c.tar.gz emacs-dc8d38204b1b2d3de1932c05f0259892d2a4ad9c.zip | |
Undefine _NO_PROTO.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/aix4-2.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 02225a9226f..c23987d2d9b 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -20,5 +20,19 @@ | |||
| 20 | */ | 20 | */ |
| 21 | #define BROKEN_GET_CURRENT_DIR_NAME 1 | 21 | #define BROKEN_GET_CURRENT_DIR_NAME 1 |
| 22 | 22 | ||
| 23 | /* aix3-1.h defined _NO_PROTO, probably to work around an AIX compiler | ||
| 24 | that did not handle prototypes. On (at least) AIX 5.2, this causes | ||
| 25 | the proper prototype to be thrown away for lseek64, so compiled | ||
| 26 | Lisp files do not load correctly and compilation fails. | ||
| 27 | |||
| 28 | The AIX compiler should have learned about function prototypes long | ||
| 29 | ago, so we can probably go ahead and undefine _NO_PROTO. However, | ||
| 30 | if someone can demonstrate that this problem still exists for AIX | ||
| 31 | 4, this should be moved into a new file (aix5.h). | ||
| 32 | */ | ||
| 33 | |||
| 34 | #undef _NO_PROTO | ||
| 35 | |||
| 36 | |||
| 23 | /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562 | 37 | /* arch-tag: 38fe75ea-6aef-42bd-8449-bc34d921a562 |
| 24 | (do not change this comment) */ | 38 | (do not change this comment) */ |