Mercurial > emacs
changeset 27612:578e78aa0553
(_XOPEN_SOURCE): Declare (for ftello).
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 04 Feb 2000 17:45:44 +0000 |
parents | d9295615b99f |
children | d613de5be32c |
files | src/lread.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lread.c Fri Feb 04 17:31:33 2000 +0000 +++ b/src/lread.c Fri Feb 04 17:45:44 2000 +0000 @@ -21,6 +21,7 @@ #include <config.h> +#define _XOPEN_SOURCE 500 /* for Unix 98 ftello on GNU */ #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> @@ -608,8 +609,8 @@ fd = openp (Vload_path, file, (!NILP (nosuffix) ? "" - : ! NILP (must_suffix) ? ".elc:.el" - : ".elc:.el:"), + : ! NILP (must_suffix) ? ".elc.gz:.elc:.el.gz:.el" + : ".elc:.elc.gz:.el.gz:.el:"), &found, 0); UNGCPRO; }