From 4f7b8304df7b374526fb02d9b1a0ee790072f10a Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Wed, 23 Oct 2024 16:14:40 +0300 Subject: [PATCH] win32: tcc-win32.txt: add note about mingw includes --- win32/tcc-win32.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/win32/tcc-win32.txt b/win32/tcc-win32.txt index 751a8e07..0c45abe1 100644 --- a/win32/tcc-win32.txt +++ b/win32/tcc-win32.txt @@ -86,6 +86,20 @@ more, get MinGW's "w32api" package. Extract the files from "include" into your "tcc/include/winapi" directory. + 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, except three which should overwrite the internal ones: + + unistd.h + winapi/windows.h + winapi/winsock2.h + + 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: + + http://download.savannah.nongnu.org/releases/tinycc/ + Resource Files: ---------------