Mercurial > emacs
diff src/lread.c @ 27612:578e78aa0553
(_XOPEN_SOURCE): Declare (for ftello).
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 04 Feb 2000 17:45:44 +0000 |
parents | 0c0628ca5029 |
children | 2e9293b149dd |
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; }