Removed __winelib flag.

This commit is contained in:
Alexandre Julliard 1999-09-05 16:48:16 +00:00
parent 37c0217d03
commit 891305b980
4 changed files with 0 additions and 19 deletions

View File

@ -426,12 +426,6 @@ typedef LRESULT (CALLBACK *WNDPROC)(HWND,UINT,WPARAM,LPARAM);
#define HFILE_ERROR16 ((HFILE16)-1)
#define HFILE_ERROR ((HFILE)-1)
/* Winelib run-time flag */
#ifdef __WINE__
extern int __winelib;
#endif /* __WINE__ */
/* The SIZE structure */
typedef struct

View File

@ -54,8 +54,6 @@
DEFAULT_DEBUG_CHANNEL(server)
int __winelib = 1; /* Winelib run-time flag */
/***********************************************************************
* Main initialisation routine
*/

View File

@ -1169,15 +1169,6 @@ BOOL WINAPI CreateProcessA( LPCSTR lpApplicationName, LPSTR lpCommandLine,
if (lpStartupInfo->dwFlags & STARTF_USEHOTKEY)
FIXME_(module)("(%s,...): STARTF_USEHOTKEY ignored\n", name);
/* When in WineLib, always fork new Unix process */
if ( __winelib ) {
retv = MODULE_CreateUnixProcess( name, tidy_cmdline,
lpStartupInfo, lpProcessInfo, TRUE );
HeapFree( GetProcessHeap(), 0, tidy_cmdline );
return (retv);
}
/* Check for special case: second instance of NE module */
lstrcpynA( ofs.szPathName, name, sizeof( ofs.szPathName ) );

View File

@ -109,8 +109,6 @@ int main( int argc, char *argv[] )
NE_MODULE *pModule;
extern char * DEBUG_argv0;
__winelib = 0; /* First of all, clear the Winelib flag */
/*
* Save this so that the internal debugger can get a hold of it if
* it needs to.