This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Identify default mingw runtime (mingw builds only).
[perl5.git] / win32 / configure / rt.c
CommitLineData
f276fe5c
S
1/*
2 Print the default runtime. $Config{libc}
3 will be set to this specified value.
4*/
5#include <stdio.h>
6#include <stddef.h>
7
8int main(void) {
9#if defined(_UCRT)
10 printf("-lucrt\n");
11#else
12 printf("-lmsvcrt\n");
13#endif
14 return 0;
15}