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 | 9 | AllocLSCallback |
| 10 | 10 | AllocSLCallback |
| 11 | 11 | AreFileApisANSI |
| 12 | +AttachConsole | |
| 12 | 13 | BackupRead |
| 13 | 14 | BackupSeek |
| 14 | 15 | BackupWrite |