mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 14:15:33 +02:00
fixed compiling bug
(non gcc compilers don't understand '-Dx()=' option)
cmd-line-utils/libedit/Makefile.am:
discarded '-Dx()=' options for compatibility with non-gcc compilers
cmd-line-utils/libedit/config.h:
added empty definitions of __RCSID(x), __COPYRIGHT(x),
__RENAME(x), _DIAGASSERT(x)
cmd-line-utils/libedit/np/unvis.c:
added #include "config.h" to define __RCSID(x)
cmd-line-utils/libedit/np/vis.c:
reinsert #include "config.h" before using of __RCSID(x)
This commit is contained in:
parent
12e10b11d9
commit
7728843c66
4 changed files with 9 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ EXTRA_DIST = makelist.sh np/unvis.c np/strlcpy.c np/vis.c np/strlcat.c np/fgetln
|
|||
|
||||
CLEANFILES = makelist common.h emacs.h vi.h fcns.h help.h fcns.c help.c
|
||||
|
||||
DEFS = -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)='
|
||||
DEFS = -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR
|
||||
|
||||
SUFFIXES = .sh
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
|
||||
#include "my_config.h"
|
||||
#include "sys.h"
|
||||
|
||||
#define __RCSID(x)
|
||||
#define __COPYRIGHT(x)
|
||||
#define __RENAME(x)
|
||||
#define _DIAGASSERT(x)
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)unvis.c 8.1 (Berkeley) 6/4/93";
|
||||
|
|
|
|||
|
|
@ -34,12 +34,12 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: vis.c,v 1.22 2002/03/23 17:38:27 christos Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <assert.h>
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue