diff options
author | Keith Vetter <keithv@fusion.com> | 1995-03-07 20:50:46 +0000 |
---|---|---|
committer | Keith Vetter <keithv@fusion.com> | 1995-03-07 20:50:46 +0000 |
commit | 986e4d2a9bf8accf9687a1fdfae807220dfbf3a7 (patch) | |
tree | 3fd3580761641472c3d9d6e2dfde8dc03a7fc7c6 /src/lib/krb5 | |
parent | 6875a986a7c49095c55e5fc4d42414efe616f5df (diff) | |
download | krb5-986e4d2a9bf8accf9687a1fdfae807220dfbf3a7.tar.gz krb5-986e4d2a9bf8accf9687a1fdfae807220dfbf3a7.tar.xz krb5-986e4d2a9bf8accf9687a1fdfae807220dfbf3a7.zip |
Ported the posix directory for the PC--one file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5077 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5')
-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 |