mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Solaris has no bzero().
This commit is contained in:
6
compat.h
6
compat.h
@ -1,4 +1,4 @@
|
||||
/* $Id: compat.h,v 1.12 2009-08-20 05:34:58 nicm Exp $ */
|
||||
/* $Id: compat.h,v 1.13 2009-08-20 12:25:17 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -142,6 +142,10 @@
|
||||
#define TTY_NAME_MAX 32
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_BZERO
|
||||
#define bzero(buf, len) memset((buf), 0, (len));
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRCASESTR
|
||||
/* strcasestr.c */
|
||||
char *strcasestr(const char *, const char *);
|
||||
|
Reference in New Issue
Block a user