Added MacOSX 10.6.5 to the list of systems detected

This commit is contained in:
Pierre Pronchery 2011-05-16 11:17:17 +00:00
parent f62e808301
commit 6914826310
2 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/* $Id$ */
/* Copyright (c) 2010 Pierre Pronchery <khorben@defora.org> */
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Devel configure */
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -43,6 +43,7 @@ const String * sHostOS[HO_COUNT] =
{
"DeforaOS",
"Linux",
"MacOSX",
"FreeBSD", "NetBSD", "OpenBSD",
"SunOS",
"unknown"
@ -53,9 +54,12 @@ const struct HostKernel sHostKernel[] =
{ HO_GNU_LINUX, "2.2" },
{ HO_GNU_LINUX, "2.4" },
{ HO_GNU_LINUX, "2.6" },
{ HO_MACOSX, "10.5.0" },
{ HO_NETBSD, "2.0" },
{ HO_NETBSD, "3.0" },
{ HO_NETBSD, "4.0" },
{ HO_NETBSD, "5.0" },
{ HO_NETBSD, "5.1" },
{ HO_OPENBSD, "4.0" },
{ HO_OPENBSD, "4.1" },
{ HO_SUNOS, "5.7", },

View File

@ -1,5 +1,5 @@
/* $Id$ */
/* Copyright (c) 2009 Pierre Pronchery <khorben@defora.org> */
/* Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Devel configure */
/* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -39,6 +39,7 @@ typedef enum _HostOS
{
HO_DEFORAOS = 0,
HO_GNU_LINUX,
HO_MACOSX,
HO_FREEBSD, HO_NETBSD, HO_OPENBSD,
HO_SUNOS,
HO_UNKNOWN
@ -50,7 +51,8 @@ extern const String * sHostOS[HO_COUNT];
typedef enum _HostKernel
{
HK_LINUX20 = 0, HK_LINUX22, HK_LINUX24, HK_LINUX26,
HK_NETBSD20, HK_NETBSD30, HK_NETBSD40,
HK_MACOSX106,
HK_NETBSD2, HK_NETBSD3, HK_NETBSD4, HK_NETBSD5, HK_NETBSD51,
HK_OPENBSD40, HK_OPENBSD41,
HK_SUNOS57, HK_SUNOS58, HK_SUNOS59, HK_SUNOS510,
HK_UNKNOWN