From: Theodore Tso Date: Fri, 22 Sep 1995 23:59:56 +0000 (+0000) Subject: Only define sys_nerr if we're on a Macintosh. On those systems which X-Git-Tag: krb5-1.0-beta6~1048 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5da2c58670198084c1bd3f0f18adb446aa2552ef;p=krb5.git Only define sys_nerr if we're on a Macintosh. On those systems which use sys_nerr, it's an external variable, defined by libc. Under Windows, it's apparently an cpp macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6816 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/et/ChangeLog b/src/util/et/ChangeLog index 5ef14ca2e..189306fe2 100644 --- a/src/util/et/ChangeLog +++ b/src/util/et/ChangeLog @@ -1,3 +1,10 @@ +Fri Sep 22 19:58:22 1995 Theodore Y. Ts'o + + * error_message.c (sys_nerr): Only define sys_nerr if we're on a + Macintosh. On those systems which use sys_nerr, it's an + external variable, defined by libc. Under Windows, it's + apparently an cpp macro. + Mon Aug 7 19:22:52 1995 Theodore Y. Ts'o * Makefile.in (compile_et): Add $(SHELL) to invocation of diff --git a/src/util/et/error_message.c b/src/util/et/error_message.c index 26db759bb..1d5813674 100644 --- a/src/util/et/error_message.c +++ b/src/util/et/error_message.c @@ -17,7 +17,9 @@ #include "mit-sipb-copyright.h" #include "internal.h" +#ifdef _MACINTOSH #define sys_nerr 100 +#endif static const char copyright[] = "Copyright 1986, 1987, 1988 by the Student Information Processing Board\nand the department of Information Systems\nof the Massachusetts Institute of Technology";