Fixing preprocessor edge case preventing building with meson https://github.com/KaruroChori/tcc-vs

This commit is contained in:
checkroom 2024-11-20 01:39:04 +00:00
parent cff81434a5
commit ef7e84454e

View file

@ -3020,7 +3020,7 @@ LIBTCCAPI int tcc_output_file(TCCState *s, const char *filename)
return elf_output_obj(s, filename);
#ifdef TCC_TARGET_PE
return pe_output_file(s, filename);
#elif TCC_TARGET_MACHO
#elif defined TCC_TARGET_MACHO
return macho_output_file(s, filename);
#else
return elf_output_file(s, filename);