WindowsSupport.h: do not depend on private config header
authorAndrew Kelley <andrew@ziglang.org>
Tue, 1 Jun 2021 19:58:05 +0000 (22:58 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 1 Jun 2021 20:05:03 +0000 (23:05 +0300)
commit936ca1e21a91843c76b20c6c857aaddd5fa3d42a
tree37478910e3466088a27eae1f84b1a88e8d836827
parent337854270023c95401b7718f586b9759891caa06
WindowsSupport.h: do not depend on private config header

WindowsSupport.h is a public header, however if it gets included, will cause a compile error indicating that llvm/Config/config.h cannot be found, because config.h is a private header. However there is no actual dependency on the private things in this header, so it can be changed to the public config header.

Reviewed By: amccarth

Differential Revision: https://reviews.llvm.org/D103370
llvm/include/llvm/Support/Windows/WindowsSupport.h