[libc-commits] [libc] [libc] fix -Wmacro-redefined (PR #75261)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Dec 12 16:32:02 PST 2023


================
@@ -10,7 +10,7 @@
 #define __LLVM_LIBC_MACROS_LINUX_SYS_STAT_MACROS_H
 
 // Definitions from linux/stat.h
----------------
nickdesaulniers wrote:

kind of curious why we don't just simply

#include <linux/stat.h>

for this whole file?

https://github.com/llvm/llvm-project/pull/75261


More information about the libc-commits mailing list