AttachConsole has been exported from kernel32.dll since Windows XP but was absent from TCC's import definitions, causing "undefined symbol 'AttachConsole'" at link time for code that uses it.
Unified · Split
| @@ -9,6 +9,7 @@ AllocConsole · 8 unmodified lines | |||
| 9 | AllocLSCallback | 9 | AllocLSCallback |
| 10 | AllocSLCallback | 10 | AllocSLCallback |
| 11 | AreFileApisANSI | 11 | AreFileApisANSI |
| 12 | AttachConsole | ||
| 12 | BackupRead | 13 | BackupRead |
| 13 | BackupSeek | 14 | BackupSeek |
| 14 | BackupWrite | 15 | BackupWrite |