diff options
| author | Daniel Thornburgh <dthorn@google.com> | 2024-11-13 10:28:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-13 10:28:07 -0800 |
| commit | 95b680e4c353d479fbfb96adb39696042c005e99 (patch) | |
| tree | 6d204f02f930ea9778e3349a211ca3d9a6b7e890 /libc/src/string | |
| parent | 57cf199be2f1496e242f6dcd32456b3ed816d46d (diff) | |
[libc] Rename libc/src/__support/endian.h to endian_internal.h (#115950)
This prevents a conflict with the Linux system endian.h when built in
overlay mode for CPP files in __support.
This issue appeared in PR #106259.
Diffstat (limited to 'libc/src/string')
| -rw-r--r-- | libc/src/string/memory_utils/op_generic.h | 2 | ||||
| -rw-r--r-- | libc/src/string/memory_utils/utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/src/string/memory_utils/op_generic.h b/libc/src/string/memory_utils/op_generic.h index 89bbea8a2bdd..da20a84dede4 100644 --- a/libc/src/string/memory_utils/op_generic.h +++ b/libc/src/string/memory_utils/op_generic.h @@ -26,7 +26,7 @@ #include "src/__support/CPP/array.h" #include "src/__support/CPP/type_traits.h" #include "src/__support/common.h" -#include "src/__support/endian.h" +#include "src/__support/endian_internal.h" #include "src/__support/macros/config.h" #include "src/__support/macros/optimization.h" #include "src/__support/macros/properties/types.h" // LIBC_TYPES_HAS_INT64 diff --git a/libc/src/string/memory_utils/utils.h b/libc/src/string/memory_utils/utils.h index 5e5fe593cce7..cae65bddd92f 100644 --- a/libc/src/string/memory_utils/utils.h +++ b/libc/src/string/memory_utils/utils.h @@ -12,7 +12,7 @@ #include "src/__support/CPP/bit.h" #include "src/__support/CPP/cstddef.h" #include "src/__support/CPP/type_traits.h" -#include "src/__support/endian.h" +#include "src/__support/endian_internal.h" #include "src/__support/macros/attributes.h" // LIBC_INLINE #include "src/__support/macros/config.h" #include "src/__support/macros/properties/architectures.h" |
