cmake: fix sdlcpu.cmake for C89 compilers

This commit is contained in:
Anonymous Maarten 2024-11-20 05:35:50 +01:00
parent aa352837d5
commit 4fb955c80b

View File

@ -61,8 +61,8 @@ const char *arch_${known_arch} = \"INFO<${known_arch}=\" ARCH_${known_arch} \">\
set(src_arch_detect "${src_vars} set(src_arch_detect "${src_vars}
int main(int argc, char *argv[]) { int main(int argc, char *argv[]) {
(void)argv;
int result = 0; int result = 0;
(void)argv;
${src_main} ${src_main}
return result; return result;
}") }")