From 891305b980c8c6dd4dea998048df3621a5f6d2b4 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sun, 5 Sep 1999 16:48:16 +0000 Subject: [PATCH] Removed __winelib flag. --- include/windef.h | 6 ------ loader/main.c | 2 -- loader/module.c | 9 --------- miscemu/main.c | 2 -- 4 files changed, 19 deletions(-) diff --git a/include/windef.h b/include/windef.h index 095237bb21e..7ec64686893 100644 --- a/include/windef.h +++ b/include/windef.h @@ -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 diff --git a/loader/main.c b/loader/main.c index d3e3d0385a7..27e7c279d1e 100644 --- a/loader/main.c +++ b/loader/main.c @@ -54,8 +54,6 @@ DEFAULT_DEBUG_CHANNEL(server) -int __winelib = 1; /* Winelib run-time flag */ - /*********************************************************************** * Main initialisation routine */ diff --git a/loader/module.c b/loader/module.c index 5aa5e5b3ba7..d904e162cb4 100644 --- a/loader/module.c +++ b/loader/module.c @@ -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 ) ); diff --git a/miscemu/main.c b/miscemu/main.c index dc2a78bcabc..e625d926302 100644 --- a/miscemu/main.c +++ b/miscemu/main.c @@ -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.