[libc-commits] [libc] [libc] Add simple features.h with implementation macro (PR #69402)
via libc-commits
libc-commits at lists.llvm.org
Wed Oct 18 16:36:48 PDT 2023
================
@@ -0,0 +1,15 @@
+//===-- Definition of macros from features.h
+//----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef __LLVM_LIBC_MACROS_FEATURES_MACROS_H
+#define __LLVM_LIBC_MACROS_FEATURES_MACROS_H
+
+#define __LLVMLIBC__ 1
----------------
alfredfo wrote:
I just picked one, also wondered whether `LLVM_LIBC` or `LLVMLIBC` fit better here. Could change it to __LLVM_LIBC__ if you prefer
https://github.com/llvm/llvm-project/pull/69402
More information about the libc-commits
mailing list