2008-08-06 18:36:30 +00:00
|
|
|
// This file is part of BOINC.
|
2005-01-20 23:22:22 +00:00
|
|
|
// http://boinc.berkeley.edu
|
2008-08-06 18:36:30 +00:00
|
|
|
// Copyright (C) 2008 University of California
|
2002-06-06 18:37:05 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
2005-01-20 23:22:22 +00:00
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
2005-01-20 23:22:22 +00:00
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
2008-08-06 18:36:30 +00:00
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2002-06-06 18:37:05 +00:00
|
|
|
|
2014-11-25 22:46:58 +00:00
|
|
|
// Don't include config.h or C++ header files from here.
|
|
|
|
// there are #defines that alter the behiour of the standard C and C++ headers.
|
|
|
|
// In this case we need to use the "small files" environment on some unix
|
|
|
|
// systems. That can't be done if we include "cpp.h"
|
|
|
|
|
2005-12-16 03:45:01 +00:00
|
|
|
#if defined(_WIN32) && !defined(__CYGWIN32__)
|
2007-04-13 18:07:18 +00:00
|
|
|
|
2014-05-01 17:44:03 +00:00
|
|
|
#if defined(_WIN64) && (defined(_M_X64) || defined(__x86_64__))
|
2007-04-19 20:53:16 +00:00
|
|
|
#define HOSTTYPE "windows_x86_64"
|
|
|
|
#define HOSTTYPEALT "windows_intelx86"
|
2021-09-10 08:29:40 +00:00
|
|
|
#elif defined(_M_ARM)
|
|
|
|
#define HOSTTYPE "windows_arm"
|
|
|
|
#elif defined(_M_ARM64)
|
|
|
|
#define HOSTTYPE "windows_arm64"
|
|
|
|
#define HOSTTYPEALT "windows_arm"
|
2007-04-13 18:07:18 +00:00
|
|
|
#else
|
2002-08-25 07:54:33 +00:00
|
|
|
#define HOSTTYPE "windows_intelx86"
|
2007-04-13 18:07:18 +00:00
|
|
|
#endif
|
|
|
|
|
2004-12-30 03:03:26 +00:00
|
|
|
#include "version.h" // version numbers from autoconf
|
2002-09-11 18:28:36 +00:00
|
|
|
#endif
|