Skip to content
Commit 4fe6a5d6 authored by Gustavo Henrique Nihei's avatar Gustavo Henrique Nihei Committed by Louis Dionne
Browse files

[libc++] Rename PS() macro to avoid clashing with Xtensa register name



This patch addresses a clash with the PS register from Xtensa
defined in the <specreg.h> header file, which is commonly included in
OS implementation.

Issue identified while building libc++ port for Apache NuttX, targeting
Xtensa-based chips (e.g. Espressif's ESP32).

Signed-off-by: default avatarGustavo Henrique Nihei <gustavo.nihei@espressif.com>

Differential Revision: https://reviews.llvm.org/D122479
parent c807141d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment