Sweden-Number/tools
Zebediah Figura 9951f2f433 makedep: Do not forbid importing system headers in msvcrt modules.
The apparent intention of catching mistakes early is laudable. However, the
number of exceptions both in the code and not in the code (in particular,
valgrind.h) shows that this is clearly getting in the way more often than not.

In practice an attempt to compile with a system API we don't support will be met
with a clear error at link time, e.g.:

/usr/bin/x86_64-w64-mingw32-ld: dlls/xmllite/reader.cross.o: in function `debugstr_nodetype':
/home/whatsit/git/wine64/../wine/dlls/xmllite/reader.c:116: undefined reference to `pthread_once'

And when there is no external function involved (as with stdarg.h, x86intrin.h,
valgrind.h), there's no reason to prevent use of the headers.

The motivation for this patch is the ability to import system vkd3d.h in e.g.
d3d12 and dxgi, which do not link to libvkd3d directly (but rather indirectly
through wined3d) and so do not fall under the has_external_import() exception. I
could see no simple way to adapt has_external_import() to account for this case.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-04 10:02:24 +01:00
..
sfnt2fon sfnt2fon: Use the standard output buffer functions. 2021-12-10 22:00:17 +01:00
widl widl: Support basic BYTE type. 2022-03-04 10:01:32 +01:00
winapi
winebuild winebuild: Align raw data size instead of virtual size in PE sections. 2022-03-02 10:54:10 +01:00
winedump winedump: Add dumping of the .apiset PE section. 2022-02-18 11:03:22 +01:00
winegcc winegcc: Add support for winebuild --data-only option. 2022-02-16 22:05:33 +01:00
winemaker
wmc tools: Consistently use xmalloc/xrealloc/xstrdup everywhere. 2022-02-08 20:24:14 +01:00
wrc tools: Consistently use xmalloc/xrealloc/xstrdup everywhere. 2022-02-08 20:24:14 +01:00
Makefile.in
buildimage
config.guess
config.sub
examine-relay
findfunc
install-sh
make_announce
make_makefiles
make_requests server: Define a server-side structure for LUID_AND_ATTRIBUTES. 2022-01-25 11:55:40 +01:00
make_specfiles api-ms-*: Get rid of the apiset placeholder files. 2022-02-23 10:23:53 +01:00
make_unicode
make_xftmpl.c make_xftmpl: Use the standard output buffer routines. 2022-02-08 20:24:14 +01:00
makedep.c makedep: Do not forbid importing system headers in msvcrt modules. 2022-03-04 10:02:24 +01:00
runtest
tools.h tools: Add a helper function to read the contents of a file. 2022-01-19 10:57:30 +01:00
wineapploader.in
winewrapper