Skip to content

Commit a66ac62

Browse files
committed
win32: add missing AttachConsole export to kernel32.def
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.
1 parent 4768b11 commit a66ac62

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

win32/lib/kernel32.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ AllocConsole
99
AllocLSCallback
1010
AllocSLCallback
1111
AreFileApisANSI
12+
AttachConsole
1213
BackupRead
1314
BackupSeek
1415
BackupWrite

0 commit comments

Comments
 (0)