diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/posix/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lib/krb5/posix/Makefile.in | 10 | ||||
| -rw-r--r-- | src/lib/krb5/posix/syslog.c | 12 |
3 files changed, 27 insertions, 1 deletions
diff --git a/src/lib/krb5/posix/ChangeLog b/src/lib/krb5/posix/ChangeLog index 048ee35c7..210dd791d 100644 --- a/src/lib/krb5/posix/ChangeLog +++ b/src/lib/krb5/posix/ChangeLog @@ -1,3 +1,9 @@ +Tue Mar 7 12:30:45 1995 Keith Vetter (keithv@fusion.com) + + * syslog.c: a disabled stub provided for satisfying the linker + on the pc. + * Makefile.in: made to work on the pc but only for syslog.c + Tue Feb 28 01:05:42 1995 John Gilmore (gnu at toad.com) * daemon.c, memmove.c, strcasecmp.c, strdup.c: Avoid <krb5/...> diff --git a/src/lib/krb5/posix/Makefile.in b/src/lib/krb5/posix/Makefile.in index e6a6698f8..4c43f098c 100644 --- a/src/lib/krb5/posix/Makefile.in +++ b/src/lib/krb5/posix/Makefile.in @@ -1,6 +1,14 @@ CFLAGS = $(CCOPTS) $(DEFS) LDFLAGS = -g -all:: $(OBJS) +##DOSBUILDTOP = ..\..\.. +##DOSLIBNAME=..\krb5.lib +##DOS!include $(BUILDTOP)\config\windows.in OBJS = @LIBOBJS@ + +all:: all-$(WHAT) + +all-unix:: $(OBJS) + +all-windows:: syslog.obj diff --git a/src/lib/krb5/posix/syslog.c b/src/lib/krb5/posix/syslog.c index 659d59fef..4e5510f1f 100644 --- a/src/lib/krb5/posix/syslog.c +++ b/src/lib/krb5/posix/syslog.c @@ -33,6 +33,7 @@ * Modified to use UNIX domain IPC by Ralph Campbell */ +#ifndef _MSDOS #ifdef __STDC__ #include <stdarg.h> #else @@ -236,3 +237,14 @@ setlogmask(pmask) LogMask = pmask; return (omask); } +#else /* _MSDOS */ + +/* Windows doesn't have the concept of a system log, so just +** do nothing here. +*/ +void +syslog(int pri, const char *fmt, ...) +{ + return; +} +#endif |
