mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
correct crash when running DllMain
svn path=/trunk/; revision=1522
This commit is contained in:
parent
2faa9c1b95
commit
352d348f09
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: dllmain.c,v 1.4 2001/01/11 02:38:34 phreak Exp $
|
||||
/* $Id: dllmain.c,v 1.5 2001/01/15 15:40:58 jean Exp $
|
||||
*
|
||||
* ReactOS MSVCRT.DLL Compatibility Library
|
||||
*/
|
||||
|
@ -15,7 +15,9 @@ unsigned int _winmajor = 0;
|
|||
unsigned int _winver = 0;
|
||||
|
||||
char *_acmdln = NULL; /* pointer to ascii command line */
|
||||
#undef _environ;
|
||||
char **_environ = NULL; /* pointer to environment block */
|
||||
char ***_environ_dll = &_environ;
|
||||
char *_pgmptr = NULL; /* pointer to program name */
|
||||
|
||||
int __app_type = 0; //_UNKNOWN_APP; /* application type */
|
||||
|
|
Loading…
Reference in a new issue