mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 02:43:38 +00:00
programs: Use WIN32_LEAN_AND_MEAN.
This commit is contained in:
parent
736cd60340
commit
002e143981
|
@ -18,6 +18,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "license.h"
|
#include "license.h"
|
||||||
|
|
||||||
|
|
|
@ -45,6 +45,8 @@
|
||||||
* support.
|
* support.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "wine/port.h"
|
#include "wine/port.h"
|
||||||
|
|
||||||
|
@ -88,7 +90,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand
|
||||||
if(!Silent)
|
if(!Silent)
|
||||||
printf("Failed to load DLL %s\n", strDll);
|
printf("Failed to load DLL %s\n", strDll);
|
||||||
|
|
||||||
exit(-1);
|
ExitProcess(1);
|
||||||
}
|
}
|
||||||
proc = (VOID *) GetProcAddress(*DllHandle, procName);
|
proc = (VOID *) GetProcAddress(*DllHandle, procName);
|
||||||
if(!proc)
|
if(!proc)
|
||||||
|
@ -96,7 +98,7 @@ static VOID *LoadProc(const char* strDll, const char* procName, HMODULE* DllHand
|
||||||
if(!Silent)
|
if(!Silent)
|
||||||
printf("%s not implemented in DLL %s\n", procName, strDll);
|
printf("%s not implemented in DLL %s\n", procName, strDll);
|
||||||
FreeLibrary(*DllHandle);
|
FreeLibrary(*DllHandle);
|
||||||
exit(-1);
|
ExitProcess(1);
|
||||||
}
|
}
|
||||||
return proc;
|
return proc;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,8 @@
|
||||||
* mailto:[E-MAIL]?subject=[TOPIC]&cc=[E-MAIL]&bcc=[E-MAIL]&body=[TEXT]
|
* mailto:[E-MAIL]?subject=[TOPIC]&cc=[E-MAIL]&bcc=[E-MAIL]&body=[TEXT]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "wine/port.h"
|
#include "wine/port.h"
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "windows.h"
|
#include "windows.h"
|
||||||
|
|
Loading…
Reference in a new issue