Add DragonFly defines.
This commit is contained in:
parent
7c17c577e0
commit
ab50df50a8
3 changed files with 12 additions and 4 deletions
|
@ -438,7 +438,8 @@ private_strerror (errnum)
|
|||
int errnum;
|
||||
{
|
||||
#ifndef __APPLE__
|
||||
# if defined(arm32) || defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
# if defined(arm32) || defined(linux) || defined(__FreeBSD__) || \
|
||||
defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
|
||||
extern const char * const sys_errlist[];
|
||||
# else
|
||||
extern char *sys_errlist[];
|
||||
|
|
|
@ -1000,7 +1000,7 @@ End
|
|||
#endif
|
||||
|
||||
#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
|
||||
|| defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT))
|
||||
|| defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
|
||||
File gid_File_Dl_GccS
|
||||
TXT_FILE_BODY;
|
||||
Dir = SCP2_URE_DL_DIR;
|
||||
|
@ -1015,7 +1015,7 @@ End
|
|||
#endif
|
||||
|
||||
#if defined _gcc3 && !(defined FREEBSD || defined NETBSD || defined OPENBSD \
|
||||
|| defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT))
|
||||
|| defined MACOSX || defined SYSTEM_STDLIBS || defined(WNT) || defined(DRAGONFLY))
|
||||
File gid_File_Dl_Stdcpp
|
||||
Dir = SCP2_URE_DL_DIR;
|
||||
TXT_FILE_BODY;
|
||||
|
|
|
@ -274,7 +274,9 @@ char *cpp_argv[ARGUMENTS] = {
|
|||
#ifdef unix
|
||||
"-Uunix", /* remove unix symbol so that filename unix.c okay */
|
||||
#endif
|
||||
#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(MACH)
|
||||
#if defined(__386BSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || \
|
||||
defined(MACH) || defined(DRAGONFLY)
|
||||
/* FIXME: strange list of obsolete systems */
|
||||
# ifdef __i386__
|
||||
"-D__i386__",
|
||||
# endif
|
||||
|
@ -514,6 +516,8 @@ char *cpp_argv[ARGUMENTS] = {
|
|||
* them to the the following table. The definition of struct symtab is
|
||||
* in util/makedepend/def.h.
|
||||
*/
|
||||
|
||||
/* FIXME: strange list of obsolete systems */
|
||||
struct pair predefs[] = {
|
||||
#ifdef apollo
|
||||
{"apollo", "1", NULL},
|
||||
|
@ -720,6 +724,9 @@ struct pair predefs[] = {
|
|||
#ifdef __OpenBSD__
|
||||
{"__OpenBSD__", "1", NULL},
|
||||
#endif
|
||||
#ifdef __DragonFly__
|
||||
{"__DragonFly__", "1", NULL},
|
||||
#endif
|
||||
#ifdef __EMX__
|
||||
{"__EMX__", "1", NULL},
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue