From 5ba0a2c5ab673bc9a2be421f090eba3df33bcb6f Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Fri, 10 Jul 2015 16:55:50 +0200 Subject: [PATCH] Add default version + name for {simd,arm,ppc,x86}.h tags --- include/boost/predef/hardware/simd.h | 5 +++++ include/boost/predef/hardware/simd/arm.h | 5 +++++ include/boost/predef/hardware/simd/ppc.h | 5 +++++ include/boost/predef/hardware/simd/x86.h | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/include/boost/predef/hardware/simd.h b/include/boost/predef/hardware/simd.h index e09db1a..ba9c57a 100644 --- a/include/boost/predef/hardware/simd.h +++ b/include/boost/predef/hardware/simd.h @@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PREDEF_HARDWARE_SIMD_H #define BOOST_PREDEF_HARDWARE_SIMD_H +#include + /*` [heading `BOOST_HW_SIMD`] @@ -54,6 +56,9 @@ http://www.boost.org/LICENSE_1_0.txt) #if defined(BOOST_HW_SIMD) # define BOOST_HW_SIMD_AVAILABLE +#else +# define BOOST_HW_SIMD BOOST_VERSION_NUMBER_NOT_AVAILABLE +# define BOOST_HW_SIMD_NAME "(not found)" #endif #endif diff --git a/include/boost/predef/hardware/simd/arm.h b/include/boost/predef/hardware/simd/arm.h index 5b0d3bc..e0e82a3 100644 --- a/include/boost/predef/hardware/simd/arm.h +++ b/include/boost/predef/hardware/simd/arm.h @@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PREDEF_HARDWARE_SIMD_ARM_H #define BOOST_PREDEF_HARDWARE_SIMD_ARM_H +#include + /*` [heading `BOOST_HW_SIMD_ARM`] @@ -29,6 +31,9 @@ http://www.boost.org/LICENSE_1_0.txt) #if defined(BOOST_HW_SIMD_ARM) # define BOOST_HW_SIMD_ARM_AVAILABLE +#else +# define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE +# define BOOST_HW_SIMD_ARM_NAME "(not found)" #endif #endif diff --git a/include/boost/predef/hardware/simd/ppc.h b/include/boost/predef/hardware/simd/ppc.h index eb4f045..91bceb4 100644 --- a/include/boost/predef/hardware/simd/ppc.h +++ b/include/boost/predef/hardware/simd/ppc.h @@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_H #define BOOST_PREDEF_HARDWARE_SIMD_PPC_H +#include + /*` [heading `BOOST_HW_SIMD_PPC`] @@ -33,6 +35,9 @@ http://www.boost.org/LICENSE_1_0.txt) #if defined(BOOST_HW_SIMD_PPC) # define BOOST_HW_SIMD_PPC_AVAILABLE +#else +# define BOOST_HW_SIMD_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE +# define BOOST_HW_SIMD_PPC_NAME "(not found)" #endif #endif diff --git a/include/boost/predef/hardware/simd/x86.h b/include/boost/predef/hardware/simd/x86.h index e9b5761..5cb351c 100644 --- a/include/boost/predef/hardware/simd/x86.h +++ b/include/boost/predef/hardware/simd/x86.h @@ -9,6 +9,8 @@ http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_H #define BOOST_PREDEF_HARDWARE_SIMD_X86_H +#include + /*` [heading `BOOST_HW_SIMD_X86`] @@ -46,6 +48,9 @@ http://www.boost.org/LICENSE_1_0.txt) #if defined(BOOST_HW_SIMD_X86) # define BOOST_HW_SIMD_X86_AVAILABLE +#else +# define BOOST_HW_SIMD_X86 BOOST_VERSION_NUMBER_NOT_AVAILABLE +# define BOOST_HW_SIMD_X86_NAME "(not found)" #endif #endif