We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 498c4b6 commit 7cd4206Copy full SHA for 7cd4206
libc/cmake/modules/cpu_features/check_cpu_features.cpp.in
@@ -18,6 +18,9 @@
18
int main(int, char **) {
19
const char *strings[] = {
20
@DEFINITIONS@
21
+ // If DEFINITIONS turns out to be empty, we don't want to list
22
+ // an empty array. So, we add an end of list marker.
23
+ "<end_of_feature_list>"
24
};
25
const size_t size = sizeof(strings) / sizeof(strings[0]);
26
for (size_t i = 0; i < size; ++i) {
0 commit comments