diff options
author | Paul Smith <psmith@gnu.org> | 2005-06-27 01:01:07 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2005-06-27 01:01:07 +0000 |
commit | da1b137e389365ddfb9d16b3d6761cf1a3986e0b (patch) | |
tree | 14a9a1f8b975eaae55a686ff2dc6d602c201b2aa /make.h | |
parent | d6a7894d3a6bdb45def58b2fdfb0629233f4f38b (diff) | |
download | gunmake-da1b137e389365ddfb9d16b3d6761cf1a3986e0b.tar.gz |
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.
Diffstat (limited to 'make.h')
-rw-r--r-- | make.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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 <string.h>. */ #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 <inttypes.h> #endif |