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

via libc-commits libc-commits at lists.llvm.org
Tue Dec 12 16:44:52 PST 2023


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

I think originally we defined all of these constants inside some spec file, so the original generated header files didn't have `#include` statements.  Then when they were refactored into the current .h file structure, they were just ported 1-to-1.  With the current include structure, we definitelt can do more than before.

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


More information about the libc-commits mailing list