[libc-commits] [libc] [libc] Remove `config.h` self-inclusion (PR #98670)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Fri Jul 12 10:54:29 PDT 2024


https://github.com/petrhosek created https://github.com/llvm/llvm-project/pull/98670

This was accidentally introduced in #98597.

>From 200889ef943d659b7723a1101bd177a24b4735ac Mon Sep 17 00:00:00 2001
From: Petr Hosek <phosek at google.com>
Date: Fri, 12 Jul 2024 10:53:13 -0700
Subject: [PATCH] [libc] Remove `config.h` self-inclusion

This was accidentally introduced in #98597.
---
 libc/src/__support/macros/config.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libc/src/__support/macros/config.h b/libc/src/__support/macros/config.h
index 8b1263e08249c..2ab0fba095e6b 100644
--- a/libc/src/__support/macros/config.h
+++ b/libc/src/__support/macros/config.h
@@ -15,7 +15,6 @@
 
 // Workaround for compilers that do not support builtin detection.
 // FIXME: This is only required for the GPU portion which should be moved.
-#include "src/__support/macros/config.h"
 #ifndef __has_builtin
 #define __has_builtin(b) 0
 #endif



More information about the libc-commits mailing list