most.h (most-5.0.0a) | : | most.h (most-5.1.0) | ||
---|---|---|---|---|
/* | /* | |||
This file is part of MOST. | This file is part of MOST. | |||
Copyright (c) 1991, 1999, 2002, 2005, 2006, 2007 John E. Davis | Copyright (c) 1991, 1999, 2002, 2005-2018, 2019 John E. Davis | |||
This program is free software; you can redistribute it and/or modify it | This program is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by the Free | under the terms of the GNU General Public License as published by the Free | |||
Software Foundation; either version 2 of the License, or (at your option) | Software Foundation; either version 2 of the License, or (at your option) | |||
any later version. | any later version. | |||
This program is distributed in the hope that it will be useful, but WITHOUT | This program is distributed in the hope that it will be useful, but WITHOUT | |||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |||
more details. | more details. | |||
skipping to change at line 63 | skipping to change at line 63 | |||
extern unsigned char *most_realloc(unsigned char *, unsigned int); | extern unsigned char *most_realloc(unsigned char *, unsigned int); | |||
extern int Most_Tab_Width; | extern int Most_Tab_Width; | |||
#ifdef VMS | #ifdef VMS | |||
# ifndef isdigit | # ifndef isdigit | |||
# define isdigit(x) \ | # define isdigit(x) \ | |||
(((x >= '0') && (x <= '9')) ? 1 : 0) | (((x >= '0') && (x <= '9')) ? 1 : 0) | |||
# endif | # endif | |||
#endif | #endif | |||
/* FIXME: v2.x slang.h exports SLsnprintf */ | ||||
#ifdef HAVE_SNPRINTF | #ifdef HAVE_SNPRINTF | |||
# define _pSLsnprintf snprintf | # define _pSLsnprintf snprintf | |||
#else | #else | |||
# if SLANG_VERSION < 20000 | # if SLANG_VERSION < 20000 | |||
# define _pSLsnprintf _SLsnprintf | # define _pSLsnprintf _SLsnprintf | |||
# endif | ||||
extern int _pSLsnprintf (char *, unsigned int, char *, ...); | extern int _pSLsnprintf (char *, unsigned int, char *, ...); | |||
# else | ||||
# define _pSLsnprintf SLsnprintf | ||||
# endif | ||||
#endif | #endif | |||
#if SLANG_VERSION <= 10409 | #if SLANG_VERSION <= 10409 | |||
extern int SLang_get_error (void); | extern int SLang_get_error (void); | |||
extern int SLang_set_error (int); | extern int SLang_set_error (int); | |||
#endif | #endif | |||
#define SLANG_REGEX 1 | #define SLANG_REGEX 1 | |||
End of changes. 4 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added |