Files
swift-mirror/test/IRGen/Inputs/autolink-coff-c-pragma.h
Martin Boehme 6bf0f26ecd Emit /DEFAULTLIB directive for #pragma comment(lib, ...) in a C module.
This is important, for example, for linking correctly to the C++
standard library on Windows, which uses `#pragma comment(lib, ...)` in
its headers to specify the correct library to link against.
2020-05-20 15:28:12 +02:00

4 lines
79 B
C

#include "autolink-coff-c-pragma-transitive.h"
#pragma comment(lib, "module")