Rename "arch/power/fallback_builtins.h" to avoid possible conflict with "fallback_builtins.h" in zlib-ng sources directory

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
Vladislav Shchapov 2025-01-24 01:45:26 +05:00 committed by Hans Kristian Rosbach
parent 7701ce9f21
commit 69a60bfc18
2 changed files with 6 additions and 5 deletions

View File

@ -32,9 +32,7 @@
#include "crc32_constants.h"
#include "crc32_braid_tbl.h"
#if defined (__clang__)
#include "fallback_builtins.h"
#endif
#include "power_intrins.h"
#define MAX_SIZE 32768
#define VMX_ALIGN 16

View File

@ -9,9 +9,10 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
#ifndef POWER_BUILTINS_H
#define POWER_BUILTINS_H
#ifndef POWER_INTRINS_H
#define POWER_INTRINS_H
#if defined (__clang__)
/*
* These stubs fix clang incompatibilities with GCC builtins.
*/
@ -29,3 +30,5 @@ vec_ld(int __a, const __vector unsigned long long* __b) {
}
#endif
#endif