1 | /* $Id: config-host.h 8168 2008-04-18 16:58:27Z vboxsync $ */
|
---|
2 | /** @file
|
---|
3 | * Sun host config - maintained by hand
|
---|
4 | */
|
---|
5 |
|
---|
6 | /*
|
---|
7 | * Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
8 | *
|
---|
9 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | * available from http://www.virtualbox.org. This file is free software;
|
---|
11 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | * General Public License (GPL) as published by the Free Software
|
---|
13 | * Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | *
|
---|
17 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | * Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | * additional information or have any questions.
|
---|
20 | */
|
---|
21 |
|
---|
22 |
|
---|
23 | #if defined(RT_ARCH_AMD64) || defined(HOST_X86_64) /* The latter, for dyngen when cross compiling (windows, l4, etc). */
|
---|
24 | # define HOST_X86_64 1
|
---|
25 | # define HOST_LONG_BITS 64
|
---|
26 | #else
|
---|
27 | # define HOST_I386 1
|
---|
28 | # define HOST_LONG_BITS 32
|
---|
29 | # ifdef RT_OS_WINDOWS
|
---|
30 | # define CONFIG_WIN32 1
|
---|
31 | # elif defined(RT_OS_OS2)
|
---|
32 | # define CONFIG_OS2
|
---|
33 | # elif defined(RT_OS_DARWIN)
|
---|
34 | # define CONFIG_DARWIN
|
---|
35 | # elif defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD) || defined(RT_OS_OPENBSD)
|
---|
36 | /*# define CONFIG_BSD*/
|
---|
37 | # elif defined(RT_OS_SOLARIS)
|
---|
38 | # define CONFIG_SOLARIS
|
---|
39 | # elif !defined(IPRT_NO_CRT)
|
---|
40 | # define HAVE_BYTESWAP_H 1
|
---|
41 | # endif
|
---|
42 | #endif
|
---|
43 | #define QEMU_VERSION "0.8.1"
|
---|
44 | #define CONFIG_UNAME_RELEASE ""
|
---|
45 | #define CONFIG_QEMU_SHAREDIR "."
|
---|
46 |
|
---|