mirror of
https://github.com/panda3d/panda3d.git
synced 2026-03-13 13:08:59 -05:00
Added WIN32_LEAN_AND_MEAN
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,7 @@
|
||||
#ifdef WIN32_VC
|
||||
|
||||
#include "numeric_types.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "selectThreadImpl.h"
|
||||
|
||||
#ifdef WIN32_VC
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef WIN_PIPE_CALLS
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
#else // WIN_PIPE_CALLS
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "config_express.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h> // for IsBadWritePtr()
|
||||
#endif
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(WIN32_VC)
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -34,6 +34,7 @@ TrueClock *TrueClock::_global_ptr = NULL;
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <sys/timeb.h>
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
static const double _0001 = 1.0 / 1000.0;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "textEncoder.h"
|
||||
|
||||
#ifdef WIN32_VC
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
#ifdef WIN32_VC
|
||||
// Must include windows.h before gl.h on NT
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "mutexHolder.h"
|
||||
|
||||
#ifdef WIN32_VC
|
||||
#include <winsock.h> // For gethostname()
|
||||
#include <winsock2.h> // For gethostname()
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "mutexWin32Impl.h"
|
||||
#include "conditionVarWin32Impl.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#include <windows.h>
|
||||
|
||||
class Thread;
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "pnmWriter.h"
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h> // we need to include this before jpeglib.
|
||||
#endif
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
// This must be included after we have included glgsg.h (which
|
||||
// includes gl.h).
|
||||
#include "wglext.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
|
||||
#ifdef HAVE_DX8
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <d3d8.h>
|
||||
|
||||
#include "graphicsStateGuardian.h"
|
||||
#include "graphicsPipe.h"
|
||||
#include "displaySearchParameters.h"
|
||||
|
||||
@@ -21,13 +21,12 @@
|
||||
|
||||
#ifdef HAVE_DX9
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <d3d9.h>
|
||||
|
||||
#include "graphicsStateGuardian.h"
|
||||
#include "graphicsPipe.h"
|
||||
#include "displaySearchParameters.h"
|
||||
|
||||
|
||||
#define DX8 0
|
||||
#define Direct3DCreate Direct3DCreate9
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "pandabase.h"
|
||||
#include "graphicsWindow.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#include <windows.h>
|
||||
|
||||
class WinGraphicsPipe;
|
||||
|
||||
Reference in New Issue
Block a user