From: Mark Eichin Date: Tue, 21 Jun 1994 04:54:26 +0000 (+0000) Subject: add SEEK_* from L_* if needed X-Git-Tag: krb5-1.0-beta4.1~42 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=29887d573865b5f5a48616896f896c9477395961;p=krb5.git add SEEK_* from L_* if needed git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3880 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog new file mode 100644 index 000000000..dea135181 --- /dev/null +++ b/src/include/krb5/ChangeLog @@ -0,0 +1,5 @@ +Tue Jun 21 00:50:46 1994 Mark W. Eichin (eichin at mit.edu) + + * sysincl.h: SEEK_SET et. al. defined in terms of L_SET et. al. if + they don't already exist. + diff --git a/src/include/krb5/sysincl.h b/src/include/krb5/sysincl.h index 9cab208a8..bab317e25 100644 --- a/src/include/krb5/sysincl.h +++ b/src/include/krb5/sysincl.h @@ -49,11 +49,11 @@ syscalls; flags for open & friends */ /* this doesn't work under solaris. Use SEEK_* instead anyway... */ -#ifndef L_SET -#define L_SET 0 /* absolute offset */ -#define L_INCR 1 /* relative to current offset */ -#define L_XTND 2 /* relative to end of file */ -#endif /* L_SET */ +#ifndef SEEK_SET +#define SEEK_SET L_SET /* absolute offset */ +#define SEEK_CUR L_INCR /* relative to current offset */ +#define SEEK_END L_XTND /* relative to end of file */ +#endif /* SEEK_SET */ #ifndef FD_SET #define FD_SETSIZE (sizeof (fd_set) * 8)