Commit 891305b9 authored by Alexandre Julliard's avatar Alexandre Julliard

Removed __winelib flag.

parent 37c0217d
......@@ -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
......
......@@ -54,8 +54,6 @@
DEFAULT_DEBUG_CHANNEL(server)
int __winelib = 1; /* Winelib run-time flag */
/***********************************************************************
* Main initialisation routine
*/
......
......@@ -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 ) );
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment