You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With mingw-w64 there are three ways wildcard expansion con be configured:
11
+
12
+
1. mingw-w64 can be configured at build time to either enable or disable wildcard expansion by default via the `--enable-wildcard` configure flags. This can to be overridden on a per .exe basis by the user.
13
+
14
+
Currently wildcard expansion is enabled by default in MSYS2.
15
+
16
+
2. You can set `_dowildcard` in your source code to either `0` or `-1` to disable or enable wildcard expansion.
17
+
18
+
```c
19
+
// To force-enable wildcard expansion
20
+
int _dowildcard = -1;
21
+
// To force-disable wildcard expansion
22
+
int _dowildcard = 0;
23
+
```
24
+
25
+
3. You can link in `CRT_noglob.o` or `CRT_noglob.o` to disable or enable wildcard expansion. This will error out if `_dowildcard` is already set in the source.
0 commit comments