ReactOS
0.4.16-dev-853-g88d9285
wildcard.c
Go to the documentation of this file.
1
7
/* _dowildcard is an int that controls the globbing of the command line.
8
* If _dowildcard is non-zero, the command line will be globbed: *.*
9
* will be expanded to be all files in the startup directory.
10
*
11
* In the mingw-w64 library the _dowildcard variable is defined as being
12
* 0, therefore command line globbing is DISABLED by default. To turn it
13
* on and to leave wildcard command line processing MS's globbing code,
14
* include a line in one of your source modules defining _dowildcard and
15
* setting it to -1, like so:
16
* int _dowildcard = -1;
17
*
18
* Alternatively, the mingw-w64 library can be configured using the
19
* --enable-wildcard option and compiled thusly upon which the resulting
20
* library will have _dowildcard as -1 and command line globbing will be
21
* enabled by default.
22
*/
23
24
#ifdef HAVE_CONFIG_H
25
#include "config.h"
26
#endif
27
28
#ifndef __ENABLE_GLOBBING
29
#define __ENABLE_GLOBBING 0
/* -1 */
30
#endif
31
32
int
_dowildcard
=
__ENABLE_GLOBBING
;
33
__ENABLE_GLOBBING
#define __ENABLE_GLOBBING
Definition:
wildcard.c:29
_dowildcard
int _dowildcard
Definition:
wildcard.c:32
sdk
lib
crt
startup
wildcard.c
Generated on Mon Mar 24 2025 06:14:07 for ReactOS by
1.9.6