DragonFly is very similar to OpenBSD with a dash of NetBSD
This commit is contained in:
parent
0c7946bfec
commit
d7794af38b
|
@ -45,7 +45,7 @@ __RCSID("$NetBSD: unvis.c,v 1.28 2005/09/13 01:44:09 christos Exp $");
|
|||
#include <stdio.h>
|
||||
#include <vis.h>
|
||||
|
||||
#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
||||
#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
|
||||
__weak_alias(strunvis,_strunvis)
|
||||
#endif
|
||||
|
||||
|
|
|
@ -915,14 +915,14 @@ vi_comment_out(EditLine *el, int c)
|
|||
* NB: posix implies that we should enter insert mode, however
|
||||
* this is against historical precedent...
|
||||
*/
|
||||
#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
||||
#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
|
||||
extern char *get_alias_text(const char *) __weak_reference(get_alias_text);
|
||||
#endif
|
||||
protected el_action_t
|
||||
/*ARGSUSED*/
|
||||
vi_alias(EditLine *el, int c)
|
||||
{
|
||||
#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
||||
#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
|
||||
char alias_name[3];
|
||||
char *alias_text;
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ __RCSID("$NetBSD: vis.c,v 1.35 2006/08/28 20:42:12 christos Exp $");
|
|||
#include <vis.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__NetBSD__)
|
||||
#if defined(__weak_reference) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
|
||||
__weak_alias(strsvis,_strsvis)
|
||||
__weak_alias(strsvisx,_strsvisx)
|
||||
__weak_alias(strvis,_strvis)
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#define __ISO_C_VISIBLE 2011
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#if defined(HAVE_MALLOC_H) && !defined(__OpenBSD__)
|
||||
#if defined(HAVE_MALLOC_H) && !defined(__OpenBSD__) && !defined(__DragonFly__)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include <inttypes.h>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#undef HAVE_STDLIB_H
|
||||
#include "switch_private.h"
|
||||
#endif
|
||||
#if !defined(__OpenBSD__) && (defined(HAVE_OPENPTY) || defined(HAVE_DEV_PTMX) || defined(HAVE_POSIX_OPENPT) || WIN32)
|
||||
#if !defined(__OpenBSD__) && !defined(__DragonFly__) && (defined(HAVE_OPENPTY) || defined(HAVE_DEV_PTMX) || defined(HAVE_POSIX_OPENPT) || WIN32)
|
||||
#define MODEM_SUPPORT 1
|
||||
#if !defined(HAVE_POSIX_OPENPT) && !defined(HAVE_DEV_PTMX) && !defined(WIN32)
|
||||
#define USE_OPENPTY 1
|
||||
|
|
Loading…
Reference in New Issue