Fix duplicate include guard *ALTIVEC_H -> *ZVECTOR_H

Some some header guards were repeated between the `AltiVec` package and the
`ZVector` packages. This could cause a problem if (for whatever reason) someone
attempts to include headers for both architectures.
This commit is contained in:
Shiva Ghose 2021-12-31 08:43:24 +00:00 committed by David Tellenbach
parent 22a347b9d2
commit a4098ac676
2 changed files with 6 additions and 6 deletions

View File

@ -8,8 +8,8 @@
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef EIGEN_COMPLEX32_ALTIVEC_H
#define EIGEN_COMPLEX32_ALTIVEC_H
#ifndef EIGEN_COMPLEX32_ZVECTOR_H
#define EIGEN_COMPLEX32_ZVECTOR_H
#include "../../InternalHeaderCheck.h"
@ -425,4 +425,4 @@ template<> EIGEN_STRONG_INLINE Packet2cf pblend(const Selector<2>& ifPacket, con
} // end namespace Eigen
#endif // EIGEN_COMPLEX32_ALTIVEC_H
#endif // EIGEN_COMPLEX32_ZVECTOR_H

View File

@ -13,8 +13,8 @@
* Julien Pommier's sse math library: http://gruntthepeon.free.fr/ssemath/
*/
#ifndef EIGEN_MATH_FUNCTIONS_ALTIVEC_H
#define EIGEN_MATH_FUNCTIONS_ALTIVEC_H
#ifndef EIGEN_MATH_FUNCTIONS_ZVECTOR_H
#define EIGEN_MATH_FUNCTIONS_ZVECTOR_H
#include "../../InternalHeaderCheck.h"
@ -232,4 +232,4 @@ ptanh<Packet4f>(const Packet4f& x) {
} // end namespace Eigen
#endif // EIGEN_MATH_FUNCTIONS_ALTIVEC_H
#endif // EIGEN_MATH_FUNCTIONS_ZVECTOR_H