History

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

checkroom committed 1 year ago

Commit ef7e8441 parent cff81431 file · +1 −1Browse files

Unified · Split

tccelf.c+1−1
@@ -3020,7 +3020,7 @@ LIBTCCAPI int tcc_output_file(TCCState *s, const char *filename) · 3019 unmodified lines
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);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t