diff options
| author | Eli Zaretskii | 2001-09-01 18:22:38 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-09-01 18:22:38 +0000 |
| commit | 75c911eb15a2aa6519b98af74ef9cbb6d8b76783 (patch) | |
| tree | fb5668c62c22352d4ca0997e9dbef767055f0d7c /lib-src | |
| parent | c868201778e2d818f5e21441b7efbed6237f74d8 (diff) | |
| download | emacs-75c911eb15a2aa6519b98af74ef9cbb6d8b76783.tar.gz emacs-75c911eb15a2aa6519b98af74ef9cbb6d8b76783.zip | |
(SEEK_END): #define if not defined by system headers.
Suggested by Dave Love <d.love@dl.ac.uk>.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/ebrowse.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 222bd29383a..3ce70406a75 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * ebrowse.c (SEEK_END): #define if not defined by system headers. | ||
| 4 | Suggested by Dave Love <d.love@dl.ac.uk>. | ||
| 5 | |||
| 1 | 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il> | 6 | 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 7 | ||
| 3 | * makefile.nt (lisp): Synchronize with src/Makefile.in. | 8 | * makefile.nt (lisp): Synchronize with src/Makefile.in. |
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index b274a641044..38a9b65987c 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c | |||
| @@ -34,6 +34,11 @@ | |||
| 34 | #include <assert.h> | 34 | #include <assert.h> |
| 35 | #include "getopt.h" | 35 | #include "getopt.h" |
| 36 | 36 | ||
| 37 | /* The SunOS compiler doesn't have SEEK_END. */ | ||
| 38 | #ifndef SEEK_END | ||
| 39 | #define SEEK_END 2 | ||
| 40 | #endif | ||
| 41 | |||
| 37 | /* Conditionalize function prototypes. */ | 42 | /* Conditionalize function prototypes. */ |
| 38 | 43 | ||
| 39 | #ifdef PROTOTYPES /* From config.h. */ | 44 | #ifdef PROTOTYPES /* From config.h. */ |