Define WIN32_LEAN_AND_MEAN when including windows.h in alMain.h
This commit is contained in:
parent
d52cb3708b
commit
9501f1cb9e
@ -21,6 +21,9 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "alMain.h"
|
#include "alMain.h"
|
||||||
#include "alu.h"
|
#include "alu.h"
|
||||||
|
@ -23,6 +23,9 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
#ifdef HAVE_WINDOWS_H
|
||||||
|
#include <windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "alMain.h"
|
#include "alMain.h"
|
||||||
#include "alu.h"
|
#include "alu.h"
|
||||||
|
@ -107,6 +107,7 @@ static const union {
|
|||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
typedef DWORD pthread_key_t;
|
typedef DWORD pthread_key_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user