tcc-stupidos/win32
Avi Halachmi (:avih) 249a0b6b60 win32: add minimal mingw header shellapi.h
This is a very stripped down version[1], with only CommandLineToArgvW
(typically used with GetCommandLineW() - which we already have),
ShellExecute and FindExecutable, which don't require any new structs,
and where used constants already exist at our winuser.h .

Pretty cheap, and hopefully covers some meaningful new use cases[2].

Requires linking with -lshell32 .

[1] original full version:
http://download.savannah.nongnu.org/releases/tinycc/winapi-full-for-0.9.27.zip

[2] Can now build "less" for windows - https://github.com/gwsw/less/ .
Add -luser32 to LIBS at Makefile.wng (mingw makefile), then (gnu make):
  make -f Makefile.wng CC=tcc less.exe
2024-11-30 16:29:15 +02:00
..
examples tccgen/win32: let __declspec(dllimport) imply extern 2017-04-04 08:34:52 +02:00
include win32: add minimal mingw header shellapi.h 2024-11-30 16:29:15 +02:00
lib tccrun: review last changes 2024-02-19 17:45:44 +01:00
build-tcc.bat libtcc usability improvements 2024-03-13 21:06:01 +01:00
tcc-win32.txt win32: tcc-win32.txt: fixup 2 mingw includes note 2024-10-23 16:32:49 +03:00