From da1b137e389365ddfb9d16b3d6761cf1a3986e0b Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 27 Jun 2005 01:01:07 +0000 Subject: Fix strerror() handling for systems which set ANSI_STRING. Don't print errors if "include" is specified with no arguments. New test suite for the $(shell ...) function. --- make.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'make.h') diff --git a/make.h b/make.h index 55682d8..b772d77 100644 --- a/make.h +++ b/make.h @@ -276,16 +276,15 @@ extern void bzero PARAMS ((char *, int)); extern void bcopy PARAMS ((const char *b1, char *b2, int)); # endif -#endif /* ANSI_STRING. */ -#undef ANSI_STRING - /* SCO Xenix has a buggy macro definition in . */ #undef strerror - -#if !defined(ANSI_STRING) && !defined(__DECC) +#if !defined(__DECC) extern char *strerror PARAMS ((int errnum)); #endif +#endif /* !ANSI_STRING. */ +#undef ANSI_STRING + #if HAVE_INTTYPES_H # include #endif -- cgit v1.2.3