]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/compat/winhost.h
Restore win32 dir from Branch-5.2 and update it
[bacula/bacula] / bacula / src / win32 / compat / winhost.h
1 /*
2    Bacula(R) - The Network Backup Solution
3
4    Copyright (C) 2000-2018 Kern Sibbald
5
6    The original author of Bacula is Kern Sibbald, with contributions
7    from many others, a complete list can be found in the file AUTHORS.
8
9    You may use this file and others of this release according to the
10    license defined in the LICENSE file, which includes the Affero General
11    Public License, v3.0 ("AGPLv3") and some additional permissions and
12    terms pursuant to its AGPLv3 Section 7.
13
14    This notice must be preserved when any source code is
15    conveyed and/or propagated.
16
17    Bacula(R) is a registered trademark of Kern Sibbald.
18 */
19 /*
20  * Define Host machine
21  */
22
23
24 #include "host.h"
25 #undef HOST_OS
26 #undef DISTNAME
27 #undef DISTVER
28
29 #ifdef HAVE_MINGW
30 extern char win_os[];
31 #define HOST_OS  "Linux"
32 #define DISTNAME "Cross-compile"
33 #ifndef BACULA
34 #define BACULA "Bacula"
35 #endif
36 #ifdef _WIN64
37 # define DISTVER "Win64"
38 #else
39 # define DISTVER "Win32"
40 #endif
41
42 #else
43
44 extern DLL_IMP_EXP char WIN_VERSION_LONG[];
45 extern DLL_IMP_EXP char WIN_VERSION[];
46
47 #define HOST_OS  WIN_VERSION_LONG
48 #define DISTNAME "MVS"
49 #define DISTVER  WIN_VERSION
50
51 #endif