History

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.

H-language committed 6 months ago

Commit a66ac621 parent 4768b111 file · +1 −0Browse files

Unified · Split

win32/lib/kernel32.def+1−0
@@ -9,6 +9,7 @@ AllocConsole · 8 unmodified lines
99 AllocLSCallback
1010 AllocSLCallback
1111 AreFileApisANSI
12+AttachConsole
1213 BackupRead
1314 BackupSeek
1415 BackupWrite

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