* Makefile.am: Use AM_CPPFLAGS for path to mc-slang includes.
* slmisc.c (SLang_Version): Declare const. Use SLANG_VERSION for version number. * include/slang.h (SLang_Version): Declare const.
Этот коммит содержится в:
родитель
5f926f02a6
Коммит
0cd8f81bdc
@ -1,3 +1,10 @@
|
||||
2004-11-29 Pavel S. Shirshov <me@pavelsh.pp.ru>
|
||||
|
||||
* Makefile.am: Use AM_CPPFLAGS for path to mc-slang includes.
|
||||
* slmisc.c (SLang_Version): Declare const. Use SLANG_VERSION for version
|
||||
number.
|
||||
* include/slang.h (SLang_Version): Declare const.
|
||||
|
||||
2004-11-09 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* sldisply.c (SLtt_delete_nlines): Add boundary check.
|
||||
|
@ -1,4 +1,5 @@
|
||||
AM_CFLAGS = $(GLIB_CFLAGS) -I$(srcdir)/include
|
||||
AM_CFLAGS = $(GLIB_CFLAGS)
|
||||
AM_CPPFLAGS = -I$(srcdir)/include
|
||||
|
||||
if INCLUDED_SLANG
|
||||
noinst_LIBRARIES = libmcslang.a
|
||||
|
@ -741,7 +741,7 @@ extern int SLarray_map_array (SLCONST SLarray_Map_Type *);
|
||||
|
||||
extern char *SLang_User_Prompt;
|
||||
/* Prompt to use when reading from stdin */
|
||||
extern int SLang_Version;
|
||||
extern const int SLang_Version;
|
||||
extern char *SLang_Version_String;
|
||||
extern char *SLang_Doc_Dir;
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include "slang.h"
|
||||
#include "_slang.h"
|
||||
int SLang_Version = 10409;
|
||||
const int SLang_Version = SLANG_VERSION;
|
||||
|
||||
/* p and ch may point to the same buffer */
|
||||
char *_SLexpand_escaped_char(char *p, char *ch)
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user