diff options
author | Paul Smith <psmith@gnu.org> | 2010-07-19 07:10:53 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2010-07-19 07:10:53 +0000 |
commit | fba20a776da6d4a36db21d9b21e9e937bef00ac3 (patch) | |
tree | 4cf2063962595ca40234d4832a00f7eeb7ebb321 /make.h | |
parent | df2fa7c5a5726b4e0a50e0eff209a3518ab19603 (diff) | |
download | gunmake-fba20a776da6d4a36db21d9b21e9e937bef00ac3.tar.gz |
- Many fixup patches from Savannah.
- Fix the test suite on Solaris (from Boris)
- Update the manual for .ONESHELL
Diffstat (limited to 'make.h')
-rw-r--r-- | make.h | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -35,7 +35,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ # ifdef _AIX #pragma alloca # else -# ifndef __GNUC__ +# if !defined(__GNUC__) && !defined(WINDOWS32) # ifndef alloca /* predefined by HP cc +Olibcalls */ char *alloca (); # endif @@ -487,7 +487,18 @@ char *getwd (); # define strcasecmp strcmpi # else /* Create our own, in misc.c */ -int strcasecmp (const char *s1, const char *s2); +int strcasecmp (const char *s1, const char *s2, int n); +# endif +#endif + +#if !HAVE_STRNCASECMP +# if HAVE_STRNICMP +# define strncasecmp strnicmp +# elif HAVE_STRNCMPI +# define strncasecmp strncmpi +# else +/* Create our own, in misc.c */ +int strncasecmp (const char *s1, const char *s2); # endif #endif |