]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/compat/winhost.h
ebl typo fix
[bacula/bacula] / bacula / src / win32 / compat / winhost.h
1 /*
2  * Define Host machine
3  *
4  *  Version $Id$
5  *
6  */
7 /*
8    Bacula® - The Network Backup Solution
9
10    Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
11
12    The main author of Bacula is Kern Sibbald, with contributions from
13    many others, a complete list can be found in the file AUTHORS.
14    This program is Free Software; you can redistribute it and/or
15    modify it under the terms of version two of the GNU General Public
16    License as published by the Free Software Foundation and included
17    in the file LICENSE.
18
19    This program is distributed in the hope that it will be useful, but
20    WITHOUT ANY WARRANTY; without even the implied warranty of
21    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22    General Public License for more details.
23
24    You should have received a copy of the GNU General Public License
25    along with this program; if not, write to the Free Software
26    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
27    02110-1301, USA.
28
29    Bacula® is a registered trademark of Kern Sibbald.
30    The licensor of Bacula is the Free Software Foundation Europe
31    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
32    Switzerland, email:ftf@fsfeurope.org.
33 */
34
35 #include "host.h"
36 #undef HOST_OS
37 #undef DISTNAME
38 #undef DISTVER
39
40 #ifdef HAVE_MINGW
41
42 #define HOST_OS  "Linux"
43 #define DISTNAME "Cross-compile"
44 #ifdef _WIN64
45 # define DISTVER "Win64"
46 #else
47 # define DISTVER "Win32"
48 #endif
49
50 #else
51
52 extern DLL_IMP_EXP char WIN_VERSION_LONG[];
53 extern DLL_IMP_EXP char WIN_VERSION[];
54
55 #define HOST_OS  WIN_VERSION_LONG
56 #define DISTNAME "MVS"
57 #define DISTVER  WIN_VERSION
58
59 #endif