mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Fix cosmopolitan.h for C++
We now have an integration test that runs the amalgamated sources through a C++ compiler, to prevent the recurrence of such issues. Fixes #38 Thanks @gbbnfhb for the report!
This commit is contained in:
parent
1ff9ab95ac
commit
3ab76b2312
3 changed files with 44 additions and 1 deletions
|
@ -17,5 +17,6 @@ bool32 GetComputerNameEx(/* enum/computernameformat.h */ int NameType,
|
|||
#if ShouldUseMsabiAttribute()
|
||||
#include "libc/nt/thunk/systeminfo.inc"
|
||||
#endif /* ShouldUseMsabiAttribute() */
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_INFO_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue