mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
Add prototypes for strcasecmp and strncasecmp if we use our own implementation.
svn path=/trunk/yasm/; revision=160
This commit is contained in:
parent
c09f4addc8
commit
303bc90f72
3 changed files with 9 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: util.h,v 1.7 2001/09/16 09:13:00 peter Exp $
|
||||
/* $Id: util.h,v 1.8 2001/09/16 09:15:27 peter Exp $
|
||||
* Defines prototypes for replacement functions if needed.
|
||||
*
|
||||
* Copyright (C) 2001 Peter Johnson
|
||||
|
|
@ -39,6 +39,8 @@ unsigned long strtoul(const char *nptr, char **endptr, int base);
|
|||
# define strcasecmp(x, y) strncmpi(x, y)
|
||||
# else
|
||||
# define USE_OUR_OWN_STRCASECMP
|
||||
int strcasecmp(const char *s1, const char *s2);
|
||||
int strncasecmp(const char *s1, const char *s2, size_t n);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: util.h,v 1.7 2001/09/16 09:13:00 peter Exp $
|
||||
/* $Id: util.h,v 1.8 2001/09/16 09:15:27 peter Exp $
|
||||
* Defines prototypes for replacement functions if needed.
|
||||
*
|
||||
* Copyright (C) 2001 Peter Johnson
|
||||
|
|
@ -39,6 +39,8 @@ unsigned long strtoul(const char *nptr, char **endptr, int base);
|
|||
# define strcasecmp(x, y) strncmpi(x, y)
|
||||
# else
|
||||
# define USE_OUR_OWN_STRCASECMP
|
||||
int strcasecmp(const char *s1, const char *s2);
|
||||
int strncasecmp(const char *s1, const char *s2, size_t n);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
4
util.h
4
util.h
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: util.h,v 1.7 2001/09/16 09:13:00 peter Exp $
|
||||
/* $Id: util.h,v 1.8 2001/09/16 09:15:27 peter Exp $
|
||||
* Defines prototypes for replacement functions if needed.
|
||||
*
|
||||
* Copyright (C) 2001 Peter Johnson
|
||||
|
|
@ -39,6 +39,8 @@ unsigned long strtoul(const char *nptr, char **endptr, int base);
|
|||
# define strcasecmp(x, y) strncmpi(x, y)
|
||||
# else
|
||||
# define USE_OUR_OWN_STRCASECMP
|
||||
int strcasecmp(const char *s1, const char *s2);
|
||||
int strncasecmp(const char *s1, const char *s2, size_t n);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue