Added WIN32_LEAN_AND_MEAN

This commit is contained in:
Josh Yelon
2007-03-19 20:46:59 +00:00
parent 514aef86f7
commit 8a865e394b
16 changed files with 252 additions and 245 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -25,7 +25,7 @@
#ifdef WIN32_VC
#include "numeric_types.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
////////////////////////////////////////////////////////////////////

View File

@@ -23,7 +23,7 @@
#include "selectThreadImpl.h"
#ifdef WIN32_VC
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
////////////////////////////////////////////////////////////////////

View File

@@ -32,6 +32,7 @@
#endif
#ifdef WIN_PIPE_CALLS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#else // WIN_PIPE_CALLS

View File

@@ -20,6 +20,7 @@
#include "config_express.h"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h> // for IsBadWritePtr()
#endif

View File

@@ -24,7 +24,7 @@
#include <stdio.h>
#if defined(WIN32_VC)
#include <winsock.h>
#include <winsock2.h>
#endif
////////////////////////////////////////////////////////////////////

View File

@@ -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;

View File

@@ -21,7 +21,7 @@
#include "textEncoder.h"
#ifdef WIN32_VC
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
////////////////////////////////////////////////////////////////////

View File

@@ -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

View File

@@ -25,7 +25,7 @@
#include "mutexHolder.h"
#ifdef WIN32_VC
#include <winsock.h> // For gethostname()
#include <winsock2.h> // For gethostname()
#endif
////////////////////////////////////////////////////////////////////

View File

@@ -29,6 +29,7 @@
#include "mutexWin32Impl.h"
#include "conditionVarWin32Impl.h"
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
class Thread;

View File

@@ -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

View File

@@ -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>
////////////////////////////////////////////////////////////////////

View File

@@ -21,8 +21,8 @@
#ifdef HAVE_DX8
#define WIN32_LEAN_AND_MEAN
#include <d3d8.h>
#include "graphicsStateGuardian.h"
#include "graphicsPipe.h"
#include "displaySearchParameters.h"

View File

@@ -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

View File

@@ -21,7 +21,7 @@
#include "pandabase.h"
#include "graphicsWindow.h"
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
class WinGraphicsPipe;