conftest: fix globbing to match MSVC

master
Austin English 2014-02-08 14:38:41 -08:00
parent b46f7461a3
commit 497f9393e0
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,10 @@
# define TRIPLET TRIPLET_ARCH "-" TRIPLET_OS "-" TRIPLET_ABI
#endif
#if defined(_WIN32)
int _CRT_glob = 0;
#endif
int main(int argc, char *argv[])
{
switch(argc == 2 ? argv[1][0] : 0) {