[libc-commits] [libc] c68b9cc - [libc][NFC] Use C headers in host CPU sniffing code.

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Thu Jan 12 23:48:27 PST 2023


Author: Siva Chandra Reddy
Date: 2023-01-13T07:43:32Z
New Revision: c68b9cc0aaaa42085732a0c72c404e5d9b3e00c6

URL: https://github.com/llvm/llvm-project/commit/c68b9cc0aaaa42085732a0c72c404e5d9b3e00c6
DIFF: https://github.com/llvm/llvm-project/commit/c68b9cc0aaaa42085732a0c72c404e5d9b3e00c6.diff

LOG: [libc][NFC] Use C headers in host CPU sniffing code.

Added: 
    

Modified: 
    libc/cmake/modules/cpu_features/check_cpu_features.cpp.in

Removed: 
    


################################################################################
diff  --git a/libc/cmake/modules/cpu_features/check_cpu_features.cpp.in b/libc/cmake/modules/cpu_features/check_cpu_features.cpp.in
index 3771129b4a56c..7a3fc037c300a 100644
--- a/libc/cmake/modules/cpu_features/check_cpu_features.cpp.in
+++ b/libc/cmake/modules/cpu_features/check_cpu_features.cpp.in
@@ -1,5 +1,5 @@
-#include <cstdio>
-#include <cstdlib>
+#include <stdio.h>
+#include <stdlib.h>
 
 // This file is instantiated by CMake.
 // DEFINITIONS below is replaced with a set of lines like so:


        


More information about the libc-commits mailing list