Skip to content

Commit ef7e844

Browse files
author
checkroom
committed
Fixing preprocessor edge case preventing building with meson https://github.com/KaruroChori/tcc-vs
1 parent cff8143 commit ef7e844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tccelf.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3020,7 +3020,7 @@ LIBTCCAPI int tcc_output_file(TCCState *s, const char *filename)
30203020
return elf_output_obj(s, filename);
30213021
#ifdef TCC_TARGET_PE
30223022
return pe_output_file(s, filename);
3023-
#elif TCC_TARGET_MACHO
3023+
#elif defined TCC_TARGET_MACHO
30243024
return macho_output_file(s, filename);
30253025
#else
30263026
return elf_output_file(s, filename);

0 commit comments

Comments
 (0)