mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 10:01:43 +00:00
This really needs to go in a branch. It needs heavy testing and can't coincide with the current shell32 due to PSDK interface changes
svn path=/branches/shell32_new-bringup/; revision=51893
This commit is contained in:
parent
4596e5e59b
commit
4019caae75
23116 changed files with 0 additions and 1109022 deletions
33
lib/sdk/crt/startup/wildcard.c
Normal file
33
lib/sdk/crt/startup/wildcard.c
Normal file
|
@ -0,0 +1,33 @@
|
|||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the w64 mingw-runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
|
||||
/* _dowildcard is an int that controls the globbing of the command line.
|
||||
* If _dowildcard is non-zero, the command line will be globbed: *.*
|
||||
* will be expanded to be all files in the startup directory.
|
||||
*
|
||||
* In the mingw-w64 library the _dowildcard variable is defined as being
|
||||
* 0, therefore command line globbing is DISABLED by default. To turn it
|
||||
* on and to leave wildcard command line processing MS's globbing code,
|
||||
* include a line in one of your source modules defining _dowildcard and
|
||||
* setting it to -1, like so:
|
||||
* int _dowildcard = -1;
|
||||
*
|
||||
* Alternatively, the mingw-w64 library can be configured using the
|
||||
* --enable-wildcard option and compiled thusly upon which the resulting
|
||||
* library will have _dowildcard as -1 and command line globbing will be
|
||||
* enabled by default.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifndef __ENABLE_GLOBBING
|
||||
#define __ENABLE_GLOBBING 0 /* -1 */
|
||||
#endif
|
||||
|
||||
int _dowildcard = __ENABLE_GLOBBING;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue