ReactOS 0.4.15-dev-5666-gc548b97
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
33
#define __ENABLE_GLOBBING
Definition: wildcard.c:29
int _dowildcard
Definition: wildcard.c:32