mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
changeses to allow us to use WIN32_LEAN_AND_MEAN
This commit is contained in:
parent
322fad4dd5
commit
5ba0ce88ba
@ -24,6 +24,7 @@
|
|||||||
#ifdef HAVE_OPENSSL
|
#ifdef HAVE_OPENSSL
|
||||||
|
|
||||||
#ifdef WIN32_VC
|
#ifdef WIN32_VC
|
||||||
|
#include <WinSock2.h>
|
||||||
#include <windows.h> // for WSAGetLastError()
|
#include <windows.h> // for WSAGetLastError()
|
||||||
#undef X509_NAME
|
#undef X509_NAME
|
||||||
#endif // WIN32_VC
|
#endif // WIN32_VC
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "openssl/x509.h"
|
#include "openssl/x509.h"
|
||||||
|
|
||||||
#ifdef WIN32_VC
|
#ifdef WIN32_VC
|
||||||
|
#include <WinSock2.h>
|
||||||
#include <windows.h> // for select()
|
#include <windows.h> // for select()
|
||||||
#undef X509_NAME
|
#undef X509_NAME
|
||||||
#endif // WIN32_VC
|
#endif // WIN32_VC
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#ifdef WIN32_VC
|
#ifdef WIN32_VC
|
||||||
|
#include <Winsock2.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user