mirror of https://github.com/tildeclub/ex-vi.git
singlebyte compile fixes
This commit is contained in:
parent
22e0a4753c
commit
280906a241
4
ex.h
4
ex.h
|
@ -72,7 +72,7 @@
|
|||
*
|
||||
* from ex.h 7.7.1.1 (Berkeley) 8/12/86
|
||||
*
|
||||
* @(#)ex.h 1.50 (gritter) 2/13/05
|
||||
* @(#)ex.h 1.51 (gritter) 2/15/05
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -333,6 +333,7 @@ extern struct option options[NOPTS + 1];
|
|||
* -DISO8859_1 enables all characters >= 0240 regardless of
|
||||
* LC_CTYPE.
|
||||
*/
|
||||
#define INVBIT 0x20000000
|
||||
#define MULTICOL 0x40000000
|
||||
|
||||
#if defined (MB)
|
||||
|
@ -343,7 +344,6 @@ extern struct option options[NOPTS + 1];
|
|||
typedef int cell;
|
||||
var int TRIM;
|
||||
var int QUOTE;
|
||||
#define INVBIT 0x20000000
|
||||
#define printable(c) (((c)&INVBIT) == 0 && \
|
||||
(mb_cur_max > 1 ? iswprint((c)&TRIM) : isprint((c)&TRIM)))
|
||||
#define ext(c) (((c) & 0177) == 0)
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
* @(#)ex_proto.h 1.25 (gritter) 1/2/05
|
||||
* @(#)ex_proto.h 1.26 (gritter) 2/15/05
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -187,8 +187,8 @@ extern void checkmodeline(char *);
|
|||
#ifdef MB
|
||||
extern int mbtowi(int *c, const char *s, size_t n);
|
||||
extern int widthok(int c);
|
||||
extern int GETWC(char *);
|
||||
#endif /* MB */
|
||||
extern int GETWC(char *);
|
||||
/* ex_put.c */
|
||||
extern int (*setlist(int))(int);
|
||||
extern void (*setnumb(int))(int);
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
#ifndef lint
|
||||
#ifdef DOSCCS
|
||||
static char sccsid[] = "@(#)ex_vget.c 1.28 (gritter) 1/20/05";
|
||||
static char sccsid[] = "@(#)ex_vget.c 1.29 (gritter) 2/15/05";
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -576,10 +576,10 @@ static void
|
|||
imacpush(int *ip, int canundo)
|
||||
{
|
||||
char buf[BUFSIZ], *bp = buf;
|
||||
int n;
|
||||
|
||||
#ifdef MB
|
||||
do {
|
||||
int n;
|
||||
n = wctomb(bp, *ip&TRIM);
|
||||
bp += n;
|
||||
} while (*ip++);
|
||||
|
|
Loading…
Reference in New Issue