diff --git a/checks/architecture/Jamfile.jam b/checks/architecture/Jamfile.jam index ea41afb4a..25d464ed4 100644 --- a/checks/architecture/Jamfile.jam +++ b/checks/architecture/Jamfile.jam @@ -16,6 +16,7 @@ project /boost/architecture obj 32 : 32.cpp ; obj 64 : 64.cpp ; +obj alpha : alpha.cpp ; obj arm : arm.cpp ; obj combined : combined.cpp ; obj loongarch : loongarch.cpp ; diff --git a/checks/architecture/alpha.cpp b/checks/architecture/alpha.cpp new file mode 100644 index 000000000..5320ed527 --- /dev/null +++ b/checks/architecture/alpha.cpp @@ -0,0 +1,9 @@ +// alpha.cpp +// +// Distributed under the Boost Software License Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#if !defined(__alpha__) && !defined(__alpha) && !defined(_M_ALPHA) +#error "Not Alpha" +#endif