msvc: Fix compilation errors due to header include order.
Ensures that the header include order is such that winsock2.h is always included before windows.h or that windows.h does not include winsock.h. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
22e557917d
commit
0167fa0060
@ -31,6 +31,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#if HAVE_WINDOWS_H
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if HAVE_OPENGL_GL3_H
|
||||
|
Reference in New Issue
Block a user