From 2151c1157c14d86915ae54716d7acf1b569eaffb Mon Sep 17 00:00:00 2001 From: Samuel Gomes Date: Thu, 12 Sep 2024 22:31:31 +0530 Subject: [PATCH] Enable globbing by default when using llvm-mingw --- internal/c/qbx.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/c/qbx.cpp b/internal/c/qbx.cpp index e787491ad..9df6748ea 100755 --- a/internal/c/qbx.cpp +++ b/internal/c/qbx.cpp @@ -71,6 +71,10 @@ extern int32 vWatchHandle(); #endif */ +#ifdef QB64_WINDOWS +extern int _CRT_glob = -1; // enable globbing on llvm-mingw by default +#endif + extern int32 sub_gl_called; #ifdef QB64_GUI