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 winejoystick.drv: Remove unnecessary driver. 2021-12-10 22:00:17 +01:00
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 winemaker: Fix --single-target option parsing. 2019-03-13 23:40:39 +01:00
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 makefiles: Always build .in files. 2015-11-10 18:28:28 +09:00
buildimage winecfg: Store the logo image in PNG format. 2021-10-18 15:56:01 +02:00
config.guess tools: Upgrade the config.guess/config.sub scripts. 2021-11-14 12:29:24 +01:00
config.sub tools: Upgrade the config.guess/config.sub scripts. 2021-11-14 12:29:24 +01:00
examine-relay examine-relay: DLLs can have underscore in their names (like ws2_32). 2021-12-06 22:55:05 +01:00
findfunc
install-sh tools: Upgrade the autoconf scripts. 2019-12-18 17:56:21 +01:00
make_announce make_announce: Update version number parsing for the new versioning scheme. 2017-01-31 15:58:43 +01:00
make_makefiles makefiles: Use the STATICLIB variable for static import libraries. 2021-10-06 20:29:34 +02:00
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 dwrite: Add properties for new Unicode 13 scripts. 2021-10-18 16:01:34 +02:00
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 makefiles: Default to building test modules as PE. 2019-04-09 15:45:59 +02:00
tools.h tools: Add a helper function to read the contents of a file. 2022-01-19 10:57:30 +01:00
wineapploader.in tools: Allow running installed builtin apps even when the 32-bit loader is missing. 2015-12-04 21:56:20 +09:00
winewrapper winewrapper: Add dlls/ntdll to the library path so macOS can find ntdll.so. 2021-08-23 11:54:18 +02:00