we still need to include dtoolbase.h first to ensure that _WIN32_WINNT is defined before we include windows.h

This commit is contained in:
David Rose 2010-08-13 23:04:14 +00:00
parent b18c13895c
commit 113e8c5463
3 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@
#ifndef P3DEMBED_H
#define P3DEMBED_H
#include "dtoolbase.h"
#ifdef _WIN32
#include <winsock2.h>
#endif

View File

@ -15,11 +15,11 @@
#ifndef PANDA3D_H
#define PANDA3D_H
#include "dtoolbase.h"
#ifdef _WIN32
#include <winsock2.h>
#endif
#include "panda3dBase.h"
#include "p3d_plugin.h"
#include "httpChannel.h"

View File

@ -12,6 +12,7 @@
//
////////////////////////////////////////////////////////////////////
#include "dtoolbase.h"
#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>