Skip to content

Commit

Permalink
win32: tcc-win32.txt: fixup 2 mingw includes note
Browse files Browse the repository at this point in the history
Note to self: review few times before pushing next time.
  • Loading branch information
avih committed Oct 23, 2024
1 parent c7bf40b commit d9f1836
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions win32/tcc-win32.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,21 @@
If the latest mingw headers don't play nice with the TinyCC headers,
there's also TinyCC-specific win32 headers package which contains
an "include" dir. Files in that dir are additional to the built-in
include files. At the time ow writing there are three files in that
package which also exist as built-in:
include files. At the time of writing there are few files in that
package which also exist as built-in headers:

unistd.h
winapi/qos.h
winapi/winnls.h
winapi/ws2ipdef.h
winapi/ws2tcpip.h
winapi/windows.h
winapi/winsock2.h

unistd.h and winapi/windows.h should overwrite the built-in headers,
while the built-in winapi/winsock2.h should be kept, as the one at
the external package is older and with less definitions.
With the exception of winapi/winsock2.h, these should overwrite the
built-in headers (unistd.h and winapi/windows.h are enhanced in that
package, winapi/winsock2.h is older than the built-in file - and with
less definitions, and the rest are identical).

The latest package at the time of writing is winapi-full-for-0.9.27.zip
which works well also with TinyCC 0.9.28rc, and is available at:
Expand Down

0 comments on commit d9f1836

Please sign in to comment.